From 6d71f5de6e984f62264694ad60bb6061c9358f64 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sat, 7 Jul 2012 09:15:16 +0200 Subject: [PATCH] Fixes wrong function call --- wcfsetup/install/files/lib/data/category/CategoryNode.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/data/category/CategoryNode.class.php b/wcfsetup/install/files/lib/data/category/CategoryNode.class.php index d3ed548dc4..ef2df59ed3 100644 --- a/wcfsetup/install/files/lib/data/category/CategoryNode.class.php +++ b/wcfsetup/install/files/lib/data/category/CategoryNode.class.php @@ -47,7 +47,7 @@ class CategoryNode extends DatabaseObjectDecorator implements \RecursiveIterator $this->inludeDisabledCategories = $inludeDisabledCategories; $this->excludedObjectTypeCategoryIDs = $excludedObjectTypeCategoryIDs; - $className = get_class(); + $className = get_called_class(); foreach (CategoryHandler::getInstance()->getChildCategories($this->getDecoratedObject()) as $category) { if ($this->fulfillsConditions($category)) { $this->childCategories[] = new $className($category, $inludeDisabledCategories, $excludedObjectTypeCategoryIDs); -- 2.20.1