bug #253 use MSQLI_ASSOC, not MYSQL_ASSOC
This commit is contained in:
parent
43102e940a
commit
b5ec475906
2 changed files with 2 additions and 2 deletions
2
boot.php
2
boot.php
|
@ -9,7 +9,7 @@ require_once('include/nav.php');
|
||||||
require_once('include/cache.php');
|
require_once('include/cache.php');
|
||||||
|
|
||||||
define ( 'FRIENDICA_PLATFORM', 'Friendica');
|
define ( 'FRIENDICA_PLATFORM', 'Friendica');
|
||||||
define ( 'FRIENDICA_VERSION', '2.3.1231' );
|
define ( 'FRIENDICA_VERSION', '2.3.1232' );
|
||||||
define ( 'DFRN_PROTOCOL_VERSION', '2.22' );
|
define ( 'DFRN_PROTOCOL_VERSION', '2.22' );
|
||||||
define ( 'DB_UPDATE_VERSION', 1115 );
|
define ( 'DB_UPDATE_VERSION', 1115 );
|
||||||
|
|
||||||
|
|
|
@ -125,7 +125,7 @@ class dba {
|
||||||
$r = array();
|
$r = array();
|
||||||
if($this->mysqli) {
|
if($this->mysqli) {
|
||||||
if($result->num_rows) {
|
if($result->num_rows) {
|
||||||
while($x = $result->fetch_array(MYSQL_ASSOC))
|
while($x = $result->fetch_array(MYSQLI_ASSOC))
|
||||||
$r[] = $x;
|
$r[] = $x;
|
||||||
$result->free_result();
|
$result->free_result();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue