wpdb: Don't pass a second argument to mysqli_fetch_field().
props pento. fixes #27693. Built from https://develop.svn.wordpress.org/trunk@28002 git-svn-id: http://core.svn.wordpress.org/trunk@27832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d568e9029d
commit
10b8c92b1e
|
@ -1962,7 +1962,7 @@ class wpdb {
|
|||
|
||||
if ( $this->use_mysqli ) {
|
||||
for ( $i = 0; $i < @mysqli_num_fields( $this->result ); $i++ ) {
|
||||
$this->col_info[ $i ] = @mysqli_fetch_field( $this->result, $i );
|
||||
$this->col_info[ $i ] = @mysqli_fetch_field( $this->result );
|
||||
}
|
||||
} else {
|
||||
for ( $i = 0; $i < @mysql_num_fields( $this->result ); $i++ ) {
|
||||
|
|
Loading…
Reference in New Issue