Merge branch 'ticket-11201-fixGroup'
This commit is contained in:
commit
7651ba4cb2
@ -89,6 +89,10 @@ class AdminAntCreationcategories extends AdminTab
|
||||
}
|
||||
} elseif(Tools::isSubmit('submitAddSubCategories')) {
|
||||
if(Tools::getValue('id_parent')) {
|
||||
$groups = array();
|
||||
foreach (Group::getGroups((int)($cookie->id_lang)) AS $row){
|
||||
$groups[] = $row['id_group'];
|
||||
}
|
||||
$id_parent = (int) Tools::getValue('id_parent');
|
||||
$date = date('Y') . '-' . date('m');
|
||||
if(Tools::getValue('subcategories2')) {
|
||||
|
Loading…
Reference in New Issue
Block a user