diff --git a/phpBB/includes/functions_validate.php b/phpBB/includes/functions_validate.php index 6ad6bf1735..c76d7303c3 100644 --- a/phpBB/includes/functions_validate.php +++ b/phpBB/includes/functions_validate.php @@ -134,7 +134,7 @@ function validate_email($email) return array('error' => true, 'error_msg' => $lang['Email_banned']); } } - while($row = $db->sql_fetchrow($result)) + while($row = $db->sql_fetchrow($result)); } } $db->sql_freeresult($result);