From: hickert Date: Tue, 23 Nov 2010 08:26:59 +0000 (+0000) Subject: Fixed ACL resolver. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=64d867711ba3163d68784645c739a0ee02871474;p=gosa.git Fixed ACL resolver. -Do not query for undefined acl-categories. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20330 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/generic/references/class_aclResolver.inc b/gosa-core/plugins/generic/references/class_aclResolver.inc index cab09a724..b1b97c656 100644 --- a/gosa-core/plugins/generic/references/class_aclResolver.inc +++ b/gosa-core/plugins/generic/references/class_aclResolver.inc @@ -45,6 +45,7 @@ class aclResolver foreach($plist as $class => $plInfo){ if(isset($plInfo['plCategory']) && is_array($plInfo['plCategory'])){ foreach($plInfo['plCategory'] as $category => $desc){ + if(!isset($map[$category])) continue; if(!is_numeric($category)){ $map[$category."/".$class] = $map[$category]." - ".$plInfo['plDescription']; }else{