From: hickert Date: Mon, 26 May 2008 11:29:50 +0000 (+0000) Subject: Save ACL correctly X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=faeb5c307577573b93ce00ccc0199f091f11ff60;p=gosa.git Save ACL correctly git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11001 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_acl.inc b/gosa-core/include/class_acl.inc index c1f24d707..72610a383 100644 --- a/gosa-core/include/class_acl.inc +++ b/gosa-core/include/class_acl.inc @@ -160,13 +160,14 @@ class acl extends plugin /* Non numeric index means -> base object containing more informations */ if (preg_match('/^[0-9]+$/', $idx)){ + if (!isset($this->ocMapping[$data])){ $this->ocMapping[$data]= array(); $this->ocMapping[$data][]= '0'; } if(isset($cats[$data])){ - $this->myAclObjects[$idx.'/'.$class]= $acls['plDescription']; + $this->myAclObjects[$data.'/'.$class]= $acls['plDescription']; } $this->ocMapping[$data][]= $class; } else {