From 64d867711ba3163d68784645c739a0ee02871474 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 23 Nov 2010 08:26:59 +0000 Subject: [PATCH] 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 --- gosa-core/plugins/generic/references/class_aclResolver.inc | 1 + 1 file changed, 1 insertion(+) 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{ -- 2.30.2