category: Don't use union operator to merge arrays in getOrderedList()

This commit is contained in:
Alexander Nicolaysen Sørnes
2009-08-05 15:00:44 +02:00
parent 3f17cf52d3
commit 304b7e9f00

View File

@@ -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;
}