From: hickert Date: Fri, 10 Dec 2010 17:04:31 +0000 (+0000) Subject: Updated ACL handling X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ed17632abc42b8172e7c0822237e9ebd5f2ef5fb;p=gosa.git Updated ACL handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20548 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc index aa4530445..67b7185f3 100644 --- a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc +++ b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc @@ -658,7 +658,9 @@ class mailgroup extends plugin foreach($this->folder_acls as $user => $acl){ if($user == "__member__" || $user == "__anyone__") continue; - $id = $this->aclPostToId[$user]; + + $id = (isset($this->aclPostToId[$user])) ? $this->aclPostToId[$user] : -1; + if(isset($_POST['remove_acl_user_'.$id])){ }elseif(isset($_POST['acl_user_'.$id])){ if($user != get_post('acl_user_'.$id)){