From: friendica Date: Sat, 21 Jan 2012 22:07:28 +0000 (-0800) Subject: bug #253 use MSQLI_ASSOC, not MYSQL_ASSOC X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b5ec47590673ff9d147de1952d357b34e405a131;p=friendica.git bug #253 use MSQLI_ASSOC, not MYSQL_ASSOC --- diff --git a/boot.php b/boot.php index dabdafd8e5..c8a7d6803d 100755 --- a/boot.php +++ b/boot.php @@ -9,7 +9,7 @@ require_once('include/nav.php'); require_once('include/cache.php'); define ( 'FRIENDICA_PLATFORM', 'Friendica'); -define ( 'FRIENDICA_VERSION', '2.3.1231' ); +define ( 'FRIENDICA_VERSION', '2.3.1232' ); define ( 'DFRN_PROTOCOL_VERSION', '2.22' ); define ( 'DB_UPDATE_VERSION', 1115 ); diff --git a/include/dba.php b/include/dba.php index 782c279d5d..7455b6b3ee 100755 --- a/include/dba.php +++ b/include/dba.php @@ -125,7 +125,7 @@ class dba { $r = array(); if($this->mysqli) { if($result->num_rows) { - while($x = $result->fetch_array(MYSQL_ASSOC)) + while($x = $result->fetch_array(MYSQLI_ASSOC)) $r[] = $x; $result->free_result(); }