From: hickert Date: Fri, 10 Dec 2010 17:05:27 +0000 (+0000) Subject: Updated ACL handling for shared folder X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a8d9f9a9f72cd1ca65e36642ad6356e70e6aa493;p=gosa.git Updated ACL handling for shared folder git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.7@20549 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)){