Skip to content
Snippets Groups Projects
Commit 7425a29f authored by tbrehm's avatar tbrehm
Browse files

Fixed: FS#2372 - won't add "send copy to" e-mail address containing one letter after @

parent d6aef1de
No related branches found
No related tags found
No related merge requests found
......@@ -136,7 +136,7 @@ $form["tabs"]['mailuser'] = array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^(\w+[\w\.\-\+]*\w{0,}@\w+[\w.-]*\w+\.[a-z\-]{2,10}){0,1}$/i',
'regex' => '/^(\w+[\w\.\-\+]*\w{0,}@\w+[\w.-]*\.[a-z\-]{2,10}){0,1}$/i',
'errmsg'=> 'cc_error_isemail'),
),
'default' => '',
......
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