diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/common.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc index 5aeebd607..081c60ccb 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -65,7 +65,7 @@ function check_code($text) { } function check_mail($mail) { - return eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3}$", $mail) ? 1 : 0; + return eregi("^[_+\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3}$", $mail) ? 1 : 0; } function check_name($name) { |