Init last_result to an empty array. fixes #2913
git-svn-id: http://svn.automattic.com/wordpress/trunk@4092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4c1ec6dc5f
commit
756caab182
|
@ -122,7 +122,7 @@ class wpdb {
|
|||
// Kill cached query results
|
||||
|
||||
function flush() {
|
||||
$this->last_result = null;
|
||||
$this->last_result = array();
|
||||
$this->col_info = null;
|
||||
$this->last_query = null;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue