From 9b13566e67425539ebedefad0185be3c68936c9a Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 25 Jun 2009 09:27:39 +0000 Subject: [PATCH] Fixed warnings in ACL edit dialog. -Reopen ACL settings whithout saving before, caused some warnings. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13795 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_acl.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gosa-core/include/class_acl.inc b/gosa-core/include/class_acl.inc index 136a02229..150fda298 100644 --- a/gosa-core/include/class_acl.inc +++ b/gosa-core/include/class_acl.inc @@ -725,8 +725,11 @@ class acl extends plugin /* Create sub acl if it does not exist */ if (!isset($this->aclContents[$key])){ $this->aclContents[$key]= array(); + } + if(!isset($this->aclContents[$key][0])){ $this->aclContents[$key][0]= ''; } + $currentAcl= $this->aclContents[$key]; /* Get the overall plugin acls -- 2.30.2