From 3fab234cd90a2c1825e43b06c06a5a84f4ec6d76 Mon Sep 17 00:00:00 2001 From: rMalie Date: Fri, 27 Jan 2012 13:39:35 +0000 Subject: [PATCH] // Fix Db->query (property value is set) git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12751 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/db/Db.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/db/Db.php b/classes/db/Db.php index b774c2a61..d995b2c15 100644 --- a/classes/db/Db.php +++ b/classes/db/Db.php @@ -303,10 +303,10 @@ abstract class DbCore if ($sql instanceof DbQuery) $sql = $sql->build(); - $result = $this->_query($sql); + $this->result = $this->_query($sql); if (_PS_DEBUG_SQL_) $this->displayError($sql); - return $result; + return $this->result; } /**