Skip to content

Commit

Permalink
Bugfix in db class.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vytautas committed Mar 26, 2016
1 parent 31ec702 commit a362e22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/app_db.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function APP_DB($host, $user, $password, $dbname, $port = 3306) {
* @return object objs[]
*/
//TODO: lage egen klasse for params klassen. Query klasse.
function getData($params, $result_type= MYSQL_ASSOC, $class = null) {
function getData($params, $result_type= MYSQLI_ASSOC, $class = null) {

if ($this->connect_errno) {
return false;
Expand Down

0 comments on commit a362e22

Please sign in to comment.