Skip to content

Commit 4101db6

Browse files
author
Florian Schaal
committed
Fixes #4084 - Mail user cant delete created mail forwarding
1 parent 4be945b commit 4101db6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

interface/web/mailuser/form/mail_user_cc.tform.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@
6969
'type' => 'TOLOWER')
7070
),
7171
'validators' => array (
72-
0 => array ( 'type' => 'ISEMAIL', 'errmsg'=> 'cc_error_isemail'),
72+
0 => array ( 'type' => 'REGEX',
73+
'regex' => '/^(\w+[\w\.\-\+]*\w{0,}@\w+[\w.-]*\.[a-z\-]{2,10}){0,1}(,\s*\w+[\w\.\-\+]*\w{0,}@\w+[\w.-]*\.[a-z\-]{2,10}){0,}$/i',
74+
'errmsg'=> 'cc_error_isemail'),
7375
),
7476
'default' => '',
7577
'value' => '',

0 commit comments

Comments
 (0)