Skip to content
Snippets Groups Projects
Commit f49e5154 authored by rescue9's avatar rescue9
Browse files

Added ability to use spaces in mail filter rules

parent 2061575a
No related branches found
No related tags found
2 merge requests!46Master,!21Master
......@@ -110,7 +110,7 @@ $form["tabs"]['filter'] = array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-\_]{0,100}$/',
'regex' => '/^[a-zA-Z0-9\.\-\_\ ]{0,100}$/',
'errmsg'=> 'target_error_regex'),
),
'default' => '',
......@@ -132,4 +132,4 @@ $form["tabs"]['filter'] = array (
?>
\ No newline at end of file
?>
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