// Context part 15

This commit is contained in:
rMalie
2011-07-19 16:17:14 +00:00
parent 1fdf4400b7
commit 02a738dce1
39 changed files with 231 additions and 198 deletions
@@ -130,7 +130,7 @@ class StatsBestCategories extends ModuleGrid
WHERE c.id_category IN (
SELECT s.id_category
FROM '._DB_PREFIX_.'shop s
WHERE s.id_shop IN ('.implode(', ', Shop::getListOfID($this->context)).')
WHERE s.id_shop IN ('.implode(', ', $this->context->shop->getListOfID()).')
)';
if ($result = Db::getInstance()->executeS($sql))
{