Init last_result to an empty array. fixes #2913
git-svn-id: https://develop.svn.wordpress.org/trunk@4092 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b86470f23b
commit
4213e51be1
|
@ -122,7 +122,7 @@ class wpdb {
|
||||||
// Kill cached query results
|
// Kill cached query results
|
||||||
|
|
||||||
function flush() {
|
function flush() {
|
||||||
$this->last_result = null;
|
$this->last_result = array();
|
||||||
$this->col_info = null;
|
$this->col_info = null;
|
||||||
$this->last_query = null;
|
$this->last_query = null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue