Skip to content

Commit bb0e22f

Browse files
committed
Fix undefined method call
1 parent 2fb5cbb commit bb0e22f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wp-includes/sqlite/class-wp-sqlite-db.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ public function query( $query ) {
341341
if ( $this->dbh instanceof WP_SQLite_Driver ) {
342342
$this->rows_affected = $this->dbh->get_last_return_value();
343343
} else {
344-
$this->rows_affected = $this->dbh->get_rows_affected();
344+
$this->rows_affected = $this->dbh->get_affected_rows();
345345
}
346346

347347
// Take note of the insert_id.

0 commit comments

Comments
 (0)