From: hickert Date: Thu, 25 Jun 2009 09:27:39 +0000 (+0000) Subject: Fixed warnings in ACL edit dialog. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9b13566e67425539ebedefad0185be3c68936c9a;p=gosa.git 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 --- 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