]> git.mxchange.org Git - friendica.git/commitdiff
bug #253 use MSQLI_ASSOC, not MYSQL_ASSOC
authorfriendica <info@friendica.com>
Sat, 21 Jan 2012 22:07:28 +0000 (14:07 -0800)
committerfriendica <info@friendica.com>
Sat, 21 Jan 2012 22:07:28 +0000 (14:07 -0800)
boot.php
include/dba.php

index dabdafd8e514cb210de2827ec70ed16fe45761f8..c8a7d6803ded2dc276b35300b2aac67fa13a2257 100755 (executable)
--- 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      );
 
index 782c279d5d0ec78815240acf9ad5ee7abaf8a07c..7455b6b3ee2c8053a1f45937e2196062554104d5 100755 (executable)
@@ -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();
                        }