// 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
This commit is contained in:
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user