From 50d7475d3b255015cd1a197845c70ad177888ba6 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 19 May 2006 11:10:03 +0000 Subject: [PATCH] Move from image button to normal submit caused bug with adding entries git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3461 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_servDNSeditZoneEntries.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/admin/systems/class_servDNSeditZoneEntries.inc b/plugins/admin/systems/class_servDNSeditZoneEntries.inc index e6dfc96dd..f7d983982 100644 --- a/plugins/admin/systems/class_servDNSeditZoneEntries.inc +++ b/plugins/admin/systems/class_servDNSeditZoneEntries.inc @@ -69,13 +69,13 @@ class servDNSeditZoneEntries extends plugin /* Add new host entry */ - if((preg_match("/^UserRecord_/",$name)) && ($once)){ + if((preg_match("/^UserRecord_?/",$name)) && ($once)){ $once = false; $entry = getDNSHostEntries($this->config,"",true); $entry['exists'] = true; $entry['zoneName'] = $this->zoneName; $entry['RECORDS'][] = array("type" => "aRecord" , "value"=>""); - $this->Devices['New Entry'] = $entry; + $this->Devices[_("New Entry")] = $entry; } if(count($tmp2) != 2) continue; -- 2.30.2