Code

Updated workstation - Startup
[gosa.git] / plugins / admin / systems / class_servDNSeditZoneEntries.inc
index 1d8037a0702435b70e1e6fcf36f79439d5e60568..8453ae794e3322bd5fd1e648f050131246d5f74c 100644 (file)
@@ -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']);
           }
         }