WordPress.org

Make WordPress Core

Changeset 28002


Ignore:
Timestamp:
04/07/2014 08:21:16 PM (8 years ago)
Author:
nacin
Message:

wpdb: Don't pass a second argument to mysqli_fetch_field().

props pento.
fixes #27693.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/wp-db.php

    r27935 r28002  
    19631963        if ( $this->use_mysqli ) {
    19641964            for ( $i = 0; $i < @mysqli_num_fields( $this->result ); $i++ ) {
    1965                 $this->col_info[ $i ] = @mysqli_fetch_field( $this->result, $i );
     1965                $this->col_info[ $i ] = @mysqli_fetch_field( $this->result );
    19661966            }
    19671967        } else {
Note: See TracChangeset for help on using the changeset viewer.