bug #253 use MSQLI_ASSOC, not MYSQL_ASSOC
This commit is contained in:
parent
43102e940a
commit
b5ec475906
2
boot.php
2
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 );
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user