aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/profile.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/profile.php')
-rw-r--r--phpBB/profile.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/profile.php b/phpBB/profile.php
index eeba6a7221..882848ae50 100644
--- a/phpBB/profile.php
+++ b/phpBB/profile.php
@@ -330,7 +330,8 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
$ban_email_list = $db->sql_fetchrowset($result);
for($i = 0; $i < count($ban_email_list); $i++)
{
- if( eregi("^" . $ban_email_list[$i]['ban_email'] . "$", $email) )
+ $match_email = str_replace("*@", ".*@", $ban_email_list[$i]['ban_email']);
+ if( eregi("^" . $match_email . "$", $email) )
{
$error = TRUE;
if(isset($error_msg))