diff options
author | friendica <info@friendica.com> | 2011-12-22 15:42:01 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2011-12-22 15:42:01 -0800 |
commit | 95b4bc55bf54c3dffdb714b8a1d8f38cc78355aa (patch) | |
tree | ced1f9a8bc579f85e0b74f76239de76ea95cedc0 /include/text.php | |
parent | ed725df5f1c1ea2484c689283e93f8f825591384 (diff) | |
parent | b602203e6c9ae4b380fa615450e1a573f47cb756 (diff) | |
download | volse-hubzilla-95b4bc55bf54c3dffdb714b8a1d8f38cc78355aa.tar.gz volse-hubzilla-95b4bc55bf54c3dffdb714b8a1d8f38cc78355aa.tar.bz2 volse-hubzilla-95b4bc55bf54c3dffdb714b8a1d8f38cc78355aa.zip |
Merge branch 'master' into notify
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php index 04d5dfced..d6b3ceeab 100644 --- a/include/text.php +++ b/include/text.php @@ -635,7 +635,7 @@ function search($s,$id='search-box',$url='/search',$save = false) { if(! function_exists('valid_email')) { function valid_email($x){ - if(preg_match('/^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)+$/',$x)) + if(preg_match('/^[_a-zA-Z0-9\-\+]+(\.[_a-zA-Z0-9\-\+]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)+$/',$x)) return true; return false; }} |