[-] BO : BugFix : #PSFV-585 : New Customer Groups can't see the root categories
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13689 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
07c674da0a
commit
c866259793
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