diff --git a/plugins/admin/systems/class_servDNSeditZoneEntries.inc b/plugins/admin/systems/class_servDNSeditZoneEntries.inc
index b87d22c1e3e7c6e460b599cc4f349c31e357dbc1..8453ae794e3322bd5fd1e648f050131246d5f74c 100644 (file)
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);
foreach($this->Devices as $key => $dev){
$table .= $this->generateRecordConfigurationRow($key);
}
- print_a($this->Devices);
$smarty->assign("disableDialog",$this->disableDialog);
$smarty->assign("table",$table);;
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']);
}
}