From faeb5c307577573b93ce00ccc0199f091f11ff60 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 26 May 2008 11:29:50 +0000 Subject: [PATCH] Save ACL correctly git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11001 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_acl.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { -- 2.30.2