Merge branch 'ticket-11201-fixGroup'

This commit is contained in:
Marion Muszynski 2017-01-02 15:55:48 +01:00
commit 7651ba4cb2

View File

@ -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')) {