From 4213e51be181af066999c7fd3d17b2850023bfc5 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 11 Aug 2006 22:23:03 +0000 Subject: [PATCH] Init last_result to an empty array. fixes #2913 git-svn-id: https://develop.svn.wordpress.org/trunk@4092 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/wp-db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index f88ab5166e..ed8a7a0736 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -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; }