Changeset 30677
- Timestamp:
- 12/01/2014 12:02:55 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/wp-db.php
r30664 r30677 1669 1669 } else { 1670 1670 $num_rows = 0; 1671 if ( $this->use_mysqli ) {1671 if ( $this->use_mysqli && $this->result instanceof mysqli_result ) { 1672 1672 while ( $row = @mysqli_fetch_object( $this->result ) ) { 1673 1673 $this->last_result[$num_rows] = $row; 1674 1674 $num_rows++; 1675 1675 } 1676 } else {1676 } else if ( is_resource( $this->result ) ) { 1677 1677 while ( $row = @mysql_fetch_object( $this->result ) ) { 1678 1678 $this->last_result[$num_rows] = $row;
Note: See TracChangeset
for help on using the changeset viewer.