From: cajus Date: Fri, 19 May 2006 11:10:03 +0000 (+0000) Subject: Move from image button to normal submit caused bug with adding entries X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=50d7475d3b255015cd1a197845c70ad177888ba6;p=gosa.git 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 --- 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;