// id of root category could be different of 1

This commit is contained in:
rGaillard
2013-12-06 18:34:50 +01:00
parent c5ff838fca
commit 746c74dfac
+1 -1
View File
@@ -111,7 +111,7 @@ class CategoryControllerCore extends FrontController
$this->assignScenes();
$this->assignSubcategories();
if ($this->category->id != 1)
if (!in_array($this->category->id, array(Configuration::get('PS_HOME_CATEGORY'), Configuration::get('PS_ROOT_CATEGORY'))))
$this->assignProductList();
$this->context->smarty->assign(array(