summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a2210a2)
raw | patch | inline | side by side (parent: a2210a2)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 18 Jul 2006 05:20:35 +0000 (05:20 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 18 Jul 2006 05:20:35 +0000 (05:20 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4184 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_acl.inc | patch | blob | history |
diff --git a/include/class_acl.inc b/include/class_acl.inc
index 637d0ca845565e65041801a856f09fe69013e66d..ee441d6812fb32909e6ed317d8f666daed53d5b2 100644 (file)
--- a/include/class_acl.inc
+++ b/include/class_acl.inc
$this->aclObjects[$idx]= $data['description'];
/* Additionally filter the classes we're interested in in "self edit" mode */
- if (in_array_ics($data['objectClass'], $oc)){
- $this->myAclObjects[$class]= $acls['plDescription'];
+ if (is_array($data['objectClass'])){
+ foreach($data['objectClass'] as $objectClass){
+ if (in_array_ics($objectClass, $oc)){
+ $this->myAclObjects[$class]= $acls['plDescription'];
+ break;
+ }
+ }
+ } else {
+ if (in_array_ics($data['objectClass'], $oc)){
+ $this->myAclObjects[$class]= $acls['plDescription'];
+ }
}
}