From 07bb76919e313a9ad9da55e1d58dbaa0dd6e5ce2 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 15 Dec 2010 10:15:22 +0000 Subject: [PATCH] Updated POST handling for mail shared folders. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20562 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/mail/admin/groups/mail/class_groupMail.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc index 67b7185f3..13ff9984d 100644 --- a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc +++ b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc @@ -647,9 +647,9 @@ class mailgroup extends plugin if(isset($_POST['mail_acls_posted'])){ $new_acls = array(); foreach(array("__anyone__","__member__") as $attr){ - - if(isset($_POST['acl_value_'.$attr])){ - $new_acls[$attr] = get_post('acl_value_'.$attr); + $id = (isset($this->aclPostToId[$attr])) ? $this->aclPostToId[$attr] : -1; + if(isset($_POST['acl_value_'.$id])){ + $new_acls[$attr] = get_post('acl_value_'.$id); }else{ $new_acls[$attr] = $this->folder_acls[$attr]; } -- 2.30.2