tbrehm
2012-10-22 d0a1cbff13ddc1f2891e634a700116c0bb37a057
Fixed: FS#2491 - dns_soa.tform.php Also Notify option validation is commented!
1 files modified
8 ■■■■ changed files
interface/web/dns/form/dns_soa.tform.php 8 ●●●● patch | view | raw | blame | history
interface/web/dns/form/dns_soa.tform.php
@@ -225,10 +225,14 @@
        'also_notify' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
//            'validators'    => array (  0 => array (    'type'  => 'ISIPV4',
            'validators'    => array (  0 => array (    'type'    => 'REGEX',
                                                        'regex' => '/^(((25[0-5]|2[0-4][0-9]|1?[0-9]{1,2})\.){3}(25[0-5]|2[0-4][0-9]|1?[0-9]{1,2})(;){0,1}(\ ){0,1}){0,10}$/',
                                                        'errmsg'=> 'also_notify_error_regex'
                                                    ),
//                                        0 => array (    'type'  => 'ISIPV4',
//                                                        'errmsg'=> 'also_notify_error_regex'
//                                                    ),
//                                    ),
                                    ),
            'default'    => '',
            'value'        => '',
            'width'        => '30',