From f4deced514a4effec2067817c1c1410092ae1d01 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Mon, 11 Jun 2012 09:45:32 +0200 Subject: [PATCH] Fixes array key in CategoryHandler::getChildCategories() --- .../install/files/lib/system/category/CategoryHandler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/category/CategoryHandler.class.php b/wcfsetup/install/files/lib/system/category/CategoryHandler.class.php index f8aa26d954..5a70e8c78d 100644 --- a/wcfsetup/install/files/lib/system/category/CategoryHandler.class.php +++ b/wcfsetup/install/files/lib/system/category/CategoryHandler.class.php @@ -97,7 +97,7 @@ class CategoryHandler extends SingletonFactory { if (isset($this->categories[$category->objectTypeID])) { foreach ($this->categories[$category->objectTypeID] as $__category) { if ($__category->parentCategoryID == $category->objectTypeCategoryID) { - $categories[$__category->categoryID] = $__category; + $categories[$__category->objectTypeCategoryID] = $__category; } } } -- 2.20.1