category: Don't use union operator to merge arrays in getOrderedList()
This commit is contained in:
@@ -171,7 +171,7 @@ class Category {
|
||||
|
||||
$oCat->sName = 'Main';
|
||||
$aCats = array($oCat);
|
||||
$aCats += $oCat->getSubCatList(1);
|
||||
$aCats = array_merge($aCats, $oCat->getSubCatList(1));
|
||||
|
||||
return $aCats;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user