Merge branch 'add-module-ant_creationcategories' into develop

This commit is contained in:
Marion Muszynski 2016-12-19 17:30:31 +01:00
commit dcadae7c98

View File

@ -71,9 +71,9 @@ class AdminAntCreationcategories extends AdminTab
$subcategory->groupBox = $groups;
$subcategory->add();
if(isset($subfamilies) && isset($subfamilies[$key]))){
if(isset($subfamilies) && isset($subfamilies[$key])){
CategoryFamilyCore::addAssociations2($subcategory->id, $subfamilies[$key]);
} elseif (isset($families) && isset($families[$key]))){
} elseif (isset($families) && isset($families[$key])){
CategoryFamilyCore::addAssociations2($subcategory->id, $families[$key]);
}
}
@ -114,7 +114,7 @@ class AdminAntCreationcategories extends AdminTab
if(isset($subfamilies) && isset($subfamilies[$key])){
CategoryFamilyCore::addAssociations2($subcategory->id, $subfamilies[$key]);
} elseif (isset($families) && isset($families[$key]))){
} elseif (isset($families) && isset($families[$key])){
CategoryFamilyCore::addAssociations2($subcategory->id, $families[$key]);
}
}