[-] BO : BugFix : #PSFV-585 : New Customer Groups can't see the root categories
This commit is contained in:
1 parent
f31f8f0cef
commit
942246a36c
1 file changed
+1
-1
@@ -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.')
|
||||||
');
|
');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user