From b9c1de7f0caf011cde04297538652dd10a7e16ea Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 14 Jan 2010 09:58:03 -0500
Subject: [PATCH] Fixed: FS#1008 - Remove the empty check for pts records.
---
interface/web/dns/form/dns_ptr.tform.php | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/interface/web/dns/form/dns_ptr.tform.php b/interface/web/dns/form/dns_ptr.tform.php
index 8d86308..6732968 100644
--- a/interface/web/dns/form/dns_ptr.tform.php
+++ b/interface/web/dns/form/dns_ptr.tform.php
@@ -77,9 +77,7 @@
'name' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
- 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
- 'errmsg'=> 'name_error_empty'),
- 1 => array ( 'type' => 'REGEX',
+ 'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^[\w\.\-]{1,64}$/',
'errmsg'=> 'name_error_regex'),
),
--
Gitblit v1.9.1