summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 56f4601)
raw | patch | inline | side by side (parent: 56f4601)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 15 Dec 2010 10:15:22 +0000 (10:15 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 15 Dec 2010 10:15:22 +0000 (10:15 +0000) |
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 | patch | blob | history |
diff --git a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc
index 67b7185f3dfa18255e7c51bc67c41cd51be3d663..13ff9984d9ead6c8348834fc8cef7cdcc565894b 100644 (file)
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];
}