Ticket #23085: 23085.2.diff
File 23085.2.diff, 536 bytes (added by , 10 years ago) |
---|
-
wp-includes/wp-db.php
1199 1199 $this->queries[] = array( $query, $this->timer_stop(), $this->get_caller() ); 1200 1200 1201 1201 // If there is an error then take note of it.. 1202 if ( $this->last_error = mysql_error( $this->dbh ) ) {1202 if ( is_resource( $this->dbh ) && $this->last_error = mysql_error( $this->dbh ) ) { 1203 1203 $this->print_error(); 1204 1204 return false; 1205 1205 }