From a362e22ffbaf9a6d16eebcc0ad75c83c194de299 Mon Sep 17 00:00:00 2001 From: Vytautas Date: Sat, 26 Mar 2016 17:35:24 +0100 Subject: [PATCH] Bugfix in db class. --- lib/app_db.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/app_db.class.php b/lib/app_db.class.php index 6700b4c..18801de 100644 --- a/lib/app_db.class.php +++ b/lib/app_db.class.php @@ -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;