Commit f49e5154 authored by rescue9's avatar rescue9

Added ability to use spaces in mail filter rules

parent 2061575a
......@@ -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
?>
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