aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/profile.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/profile.php')
-rw-r--r--phpBB/profile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/profile.php b/phpBB/profile.php
index c974385dc2..cf039fc658 100644
--- a/phpBB/profile.php
+++ b/phpBB/profile.php
@@ -49,7 +49,7 @@ function validate_email($email)
if($email != "")
{
- if( preg_match("/^[a-z0-9\.\-_]+@[a-z0-9\-_]+\.([a-z0-9\-_]+\.)?[a-z]+$/is", $email) )
+ if( preg_match("/^[a-z0-9\.\-_]+@[a-z0-9\-_]+\.([a-z0-9\-_]+\.)*?[a-z]+$/is", $email) )
{
$sql = "SELECT ban_email
FROM " . BANLIST_TABLE;