Commit 0f7d3e23 authored by tbrehm's avatar tbrehm

Fixed regex for email filed to allow _ in email addresses.

parent 07d3a187
......@@ -108,7 +108,7 @@ $form["tabs"]['dns_soa'] = array (
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'mbox_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^[[a-zA-Z0-9\.\-]{0,64}\.$/',
'regex' => '/^[[a-zA-Z0-9\.\-\_]{0,64}\.$/',
'errmsg'=> 'mbox_error_regex'),
),
'default' => '',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment