From: hickert Date: Wed, 24 Mar 2010 12:56:53 +0000 (+0000) Subject: Do not check for not existing posts X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=118a9801f83099c201cbe9b2ceaf91331abb56fd;p=gosa.git Do not check for not existing posts git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17075 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 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;