bug #253 use MSQLI_ASSOC, not MYSQL_ASSOC

This commit is contained in:
friendica 2012-01-21 14:07:28 -08:00
parent 43102e940a
commit b5ec475906
2 changed files with 2 additions and 2 deletions

View file

@ -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 );

View file

@ -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();
}