[*] Classes: Db->execute() now return always a boolean. Use Db->query() instead.

This commit is contained in:
rMalie
2011-12-06 15:41:34 +00:00
parent f7e573035e
commit ad45eeca37
17 changed files with 85 additions and 88 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ class StatsOrigin extends ModuleGraph
WHERE 1
'.$this->sqlShopRestriction().'
AND date_add BETWEEN '.$dateBetween;
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($sql, false);
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->query($sql);
$websites = array($directLink => 0);
while ($row = Db::getInstance(_PS_USE_SQL_SLAVE_)->nextRow($result))
{