Permalink
Browse files

Fixed #866

  • Loading branch information...
1 parent 602f0d4 commit a5421718d01ff6e40a770b2005ec4b8fc01b7276 @trustmaster trustmaster committed Mar 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 system/functions.php
View
2 system/functions.php
@@ -558,7 +558,7 @@ function cot_import_pagenav($var_name, $max_items = 0)
*/
function cot_check_email($res)
{
- return mb_strlen($res) > 4 && preg_match('#^[\w\p{L}][\.\w\p{L}\-]+@[\w\p{L}\.\-]+\.[\w\p{L}]+$#u', $res);
+ return mb_strlen($res) > 4 && preg_match('#^[\w\p{L}][\.\w\p{L}\-]*@[\w\p{L}\.\-]+\.[\w\p{L}]+$#u', $res);
}
/**

0 comments on commit a542171

Please sign in to comment.