Skip to content
Snippets Groups Projects
Commit ee5ce1f1 authored by Thom's avatar Thom :tools:
Browse files

Use correct error msg

parent 33aaf12e
No related branches found
No related tags found
1 merge request!1192Don't allow spaces in firewall rule (#3443)
......@@ -89,7 +89,7 @@ $form["tabs"]['firewall'] = array (
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^[0-9\,\:]{0,255}$/',
'errmsg'=> 'tcp_ports_error_regex'),
'errmsg'=> 'udp_ports_error_regex'),
),
'default' => '53,3306',
'value' => '',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment