[-] BO : BugFix : #PSFV-585 : New Customer Groups can't see the root categories

This commit is contained in:
vChabot
2012-02-28 14:27:08 +00:00
parent f31f8f0cef
commit 942246a36c
+1 -1
View File
@@ -1109,7 +1109,7 @@ class CategoryCore extends ObjectModel
return false;
return Db::getInstance()->execute('
INSERT INTO `'._DB_PREFIX_.'category_group`
VALUES (1, '.(int)$id_group.')
VALUES ('.(int)Context::getContext()->shop->getCategory().', '.(int)$id_group.')
');
}