Merge branch 'add-module-ant_creationcategories' into develop
This commit is contained in:
commit
dcadae7c98
@ -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]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user