mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
wpdb: Don't pass a second argument to mysqli_fetch_field().
props pento. fixes #27693. git-svn-id: https://develop.svn.wordpress.org/trunk@28002 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9415376529
commit
f9e150c068
@ -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
Block a user