Skip to content

Commit f49e515

Browse files
author
rescue9
committed
Added ability to use spaces in mail filter rules
1 parent 2061575 commit f49e515

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interface/web/mail/form/mail_user_filter.tform.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
'datatype' => 'VARCHAR',
111111
'formtype' => 'TEXT',
112112
'validators' => array ( 0 => array ( 'type' => 'REGEX',
113-
'regex' => '/^[a-zA-Z0-9\.\-\_]{0,100}$/',
113+
'regex' => '/^[a-zA-Z0-9\.\-\_\ ]{0,100}$/',
114114
'errmsg'=> 'target_error_regex'),
115115
),
116116
'default' => '',
@@ -132,4 +132,4 @@
132132

133133

134134

135-
?>
135+
?>

0 commit comments

Comments
 (0)