From b5ec47590673ff9d147de1952d357b34e405a131 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 21 Jan 2012 14:07:28 -0800 Subject: [PATCH] bug #253 use MSQLI_ASSOC, not MYSQL_ASSOC --- boot.php | 2 +- include/dba.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(); }