Skip to content

Commit b9c1de7

Browse files
committed
Fixed: FS#1008 - Remove the empty check for pts records.
1 parent e3929f1 commit b9c1de7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

interface/web/dns/form/dns_ptr.tform.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,7 @@
7777
'name' => array (
7878
'datatype' => 'VARCHAR',
7979
'formtype' => 'TEXT',
80-
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
81-
'errmsg'=> 'name_error_empty'),
82-
1 => array ( 'type' => 'REGEX',
80+
'validators' => array ( 0 => array ( 'type' => 'REGEX',
8381
'regex' => '/^[\w\.\-]{1,64}$/',
8482
'errmsg'=> 'name_error_regex'),
8583
),

0 commit comments

Comments
 (0)