Code

Fixed ACL resolver.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 23 Nov 2010 08:26:59 +0000 (08:26 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 23 Nov 2010 08:26:59 +0000 (08:26 +0000)
-Do not query for undefined acl-categories.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20330 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/generic/references/class_aclResolver.inc

index cab09a7240373c4d1880cd037701ef24a9219199..b1b97c6563d69e1fc8f141d0745daa617144de2e 100644 (file)
@@ -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{