Code

Fixed auto detection
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 7 Dec 2006 10:10:59 +0000 (10:10 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 7 Dec 2006 10:10:59 +0000 (10:10 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5332 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_termDNS.inc

index 0f76e2f131c27845aa0b34d3a76e5e868b5aeb6b..a62eaaedaf2f0e13f81532cb3ef81f714a471946 100644 (file)
@@ -121,7 +121,7 @@ class termDNS extends plugin
     $display= "";
 
     $smarty->assign("staticAddress", ""); 
-    $smarty->assign("autonet", "");
+    $smarty->assign("autonet", $this->autonet);
  
     /* Check for autonet button */
     if ($this->autonet && isset($_POST['autonet'])){
@@ -156,7 +156,6 @@ class termDNS extends plugin
       }
       $smarty->assign("staticAddress","<font class=\"must\">*</font>");
 
-      $smarty->assign("autonet", $this->autonet);
       $display.= $smarty->fetch(get_template_path('network.tpl', TRUE));
       return($display);
     }else{