Code

Updated workstation - Startup
[gosa.git] / plugins / admin / systems / class_servDNSeditZoneEntries.inc
index b87d22c1e3e7c6e460b599cc4f349c31e357dbc1..8453ae794e3322bd5fd1e648f050131246d5f74c 100644 (file)
@@ -21,7 +21,7 @@ class servDNSeditZoneEntries extends plugin
 
   var $disableDialog      = false; // Dialog will be disabled, if this zone is new 
 
-  function servDNSeditZoneEntries ($config,$dn, $zoneObject)
+  function servDNSeditZoneEntries (&$config,$dn, &$zoneObject)
   {
     plugin::plugin ($config, $dn);
 
@@ -75,7 +75,6 @@ class servDNSeditZoneEntries extends plugin
     foreach($this->Devices as $key => $dev){
       $table .= $this->generateRecordConfigurationRow($key);
     }
-    print_a($this->Devices);
 
     $smarty->assign("disableDialog",$this->disableDialog);
     $smarty->assign("table",$table);;
@@ -297,7 +296,7 @@ class servDNSeditZoneEntries extends plugin
           if(!isset($tmp[$Rec['type']])){
             $tmp[$Rec['type']] = "";
           }else{
-            $message[] = sprintf(_("The record type '%s' is a unique type and can't be defined twice."),$type);
+            $message[] = sprintf(_("The record type '%s' is a unique type and can't be defined twice."),$Rec['type']);
           }
         }