From 118a9801f83099c201cbe9b2ceaf91331abb56fd Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 24 Mar 2010 12:56:53 +0000 Subject: [PATCH] Do not check for not existing posts git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17075 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/mail/admin/groups/mail/class_groupMail.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc index 080e2882e..3b3732f77 100644 --- a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc +++ b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc @@ -698,13 +698,10 @@ class mailgroup extends plugin } $opts = array( - "R" => "use_mailsize_limit", - "S" => "use_spam_filter", - "V" => "use_vacation", - "C" => "own_script", "I" => "only_local"); foreach($opts as $flag => $post){ + if($this->acl_is_writeable("gosaMailDeliveryMode".$flag)){ if(!preg_match("/".$flag."/",$tmp) && isset($_POST[$post])){ $tmp.= $flag; -- 2.30.2