Code

fixed objectClass definition in plInfo methods
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 21 May 2010 12:57:18 +0000 (12:57 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 21 May 2010 12:57:18 +0000 (12:57 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18614 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_acl.inc

index 2012f1d134948af43c653b646e1ddd5754ee8314..368e4270c608c3656c07454765d1bbcc46f79bf2 100644 (file)
@@ -199,6 +199,7 @@ class acl extends plugin
             $this->aclObjects[$idx]= $data['description'];
 
             /* Additionally filter the classes we're interested in in "self edit" mode */
+            if(!isset($data['objectClass'])) continue;
             if (is_array($data['objectClass'])){
               foreach($data['objectClass'] as $objectClass){
                 if (in_array_ics($objectClass, $oc)){