Browse Source

bug #253 use MSQLI_ASSOC, not MYSQL_ASSOC

pull/27/head
friendica 10 years ago
parent
commit
b5ec475906
  1. 2
      boot.php
  2. 2
      include/dba.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 );

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

Loading…
Cancel
Save