From 304b7e9f0056033d9006bffa74ee85184bc74cd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Wed, 5 Aug 2009 15:00:44 +0200 Subject: [PATCH] category: Don't use union operator to merge arrays in getOrderedList() --- include/category.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/category.php b/include/category.php index 87f8c9d..8b7713e 100644 --- a/include/category.php +++ b/include/category.php @@ -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; }