// Fix Db->query (property value is set)
This commit is contained in:
+2
-2
@@ -303,10 +303,10 @@ abstract class DbCore
|
|||||||
if ($sql instanceof DbQuery)
|
if ($sql instanceof DbQuery)
|
||||||
$sql = $sql->build();
|
$sql = $sql->build();
|
||||||
|
|
||||||
$result = $this->_query($sql);
|
$this->result = $this->_query($sql);
|
||||||
if (_PS_DEBUG_SQL_)
|
if (_PS_DEBUG_SQL_)
|
||||||
$this->displayError($sql);
|
$this->displayError($sql);
|
||||||
return $result;
|
return $this->result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user