Code

Fixed kolabserver service
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 26 Sep 2006 07:37:26 +0000 (07:37 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 26 Sep 2006 07:37:26 +0000 (07:37 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4775 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_servKolab.inc

index 3365211b96bee4bb46b8a62fadb5869848e14f9c..feb471c50e63c950b40b4f0ca66d5174f3a6e9e2 100644 (file)
@@ -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']);
+      }
     }
 
   }