From f49e515406c79ef17507f425557ba8336f78161b Mon Sep 17 00:00:00 2001
From: rescue9 <rescue9@ispconfig3>
Date: Wed, 17 Mar 2010 13:31:39 -0400
Subject: [PATCH] Added ability to use spaces in mail filter rules

---
 interface/web/mail/form/mail_user_filter.tform.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/interface/web/mail/form/mail_user_filter.tform.php b/interface/web/mail/form/mail_user_filter.tform.php
index 58eea0b..565d5c4 100644
--- a/interface/web/mail/form/mail_user_filter.tform.php
+++ b/interface/web/mail/form/mail_user_filter.tform.php
@@ -110,7 +110,7 @@
 			'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 @@
 
 
 
-?>
\ No newline at end of file
+?>

--
Gitblit v1.9.1