Fixes category acl option cache builder
authorMatthias Schmidt <gravatronics@live.com>
Mon, 23 Dec 2013 13:44:52 +0000 (14:44 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 23 Dec 2013 13:44:52 +0000 (14:44 +0100)
wcfsetup/install/files/lib/system/cache/builder/CategoryACLOptionCacheBuilder.class.php

index b8ac43c2b6a84d22fb5dbdf2d75fb4d310b817de..1a8dd17258eb873f8b6503b783f290e163cb765e 100644 (file)
@@ -29,7 +29,6 @@ class CategoryACLOptionCacheBuilder extends AbstractCacheBuilder {
                        $aclOptions = ACLHandler::getInstance()->getPermissions(ACLHandler::getInstance()->getObjectTypeID($aclObjectType), array_keys($categories));
                        $options = $aclOptions['options']->getObjects();
                        
-                       $data = array();
                        foreach (array('group', 'user') as $type) {
                                foreach ($aclOptions[$type] as $categoryID => $optionData) {
                                        if (!isset($data[$categoryID])) {