From: hickert Date: Tue, 26 Sep 2006 06:48:34 +0000 (+0000) Subject: fixed spam server service X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a01b78c4a8b4fe2543fdc058237c72fca52a5315;p=gosa.git fixed spam server service git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4772 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_goSpamServer.inc b/plugins/admin/systems/class_goSpamServer.inc index 5f4618d15..77b7d0d9a 100644 --- a/plugins/admin/systems/class_goSpamServer.inc +++ b/plugins/admin/systems/class_goSpamServer.inc @@ -299,10 +299,13 @@ class gospamserver extends goService{ /* Check flags */ foreach($this->Flags as $flag){ $var = "saFlags".$flag; - if(isset($_POST[$var])){ - $this->$var = TRUE; - }else{ - $this->$var = FALSE; + + if($this->acl_is_writeable($var)){ + if(isset($_POST[$var])){ + $this->$var = TRUE; + }else{ + $this->$var = FALSE; + } } } } diff --git a/plugins/admin/systems/goSpamServer.tpl b/plugins/admin/systems/goSpamServer.tpl index 99e408f1c..f69b879d4 100644 --- a/plugins/admin/systems/goSpamServer.tpl +++ b/plugins/admin/systems/goSpamServer.tpl @@ -108,9 +108,7 @@
-{render acl=$saTrustedNetworksACL} {$divRules}
-{/render} {render acl=$saTrustedNetworksACL} {/render}