From 756caab182a4dafa259f4cd0a870ce459ff4a2a2 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 11 Aug 2006 22:23:03 +0000 Subject: [PATCH] Init last_result to an empty array. fixes #2913 git-svn-id: http://svn.automattic.com/wordpress/trunk@4092 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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; }