From: hickert Date: Tue, 26 Sep 2006 07:37:26 +0000 (+0000) Subject: Fixed kolabserver service X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=092fcabde99982b189aec5465392b21846c481e2;p=gosa.git Fixed kolabserver service git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4775 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servKolab.inc b/plugins/admin/systems/class_servKolab.inc index 3365211b9..feb471c50 100644 --- a/plugins/admin/systems/class_servKolab.inc +++ b/plugins/admin/systems/class_servKolab.inc @@ -109,12 +109,10 @@ class servkolab extends goService { ***************/ /* Set relayhost and if we have MX lookup enabled*/ - if($this->acl_is_writeable("postfixmxrelayenabled")){ - if($this->postfix_mxrelayenabled) { - $smarty->assign("RelayMxSupportCheck"," checked "); - } else { - $smarty->assign("RelayMxSupportCheck",""); - } + if($this->postfix_mxrelayenabled) { + $smarty->assign("RelayMxSupportCheck"," checked "); + } else { + $smarty->assign("RelayMxSupportCheck",""); } /* Set acls */ @@ -246,8 +244,10 @@ class servkolab extends goService { } } - /* Toggle relay check */ - $this->postfix_mxrelayenabled= isset($_POST['RelayMxSupport']); + /* Toggell relay check */ + if($this->acl_is_writeable("postfixmxrelayenabled")){ + $this->postfix_mxrelayenabled= isset($_POST['RelayMxSupport']); + } } }