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

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