Init last_result to an empty array. fixes #2913
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
277349165b
commit
906efe5418
|
@ -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