1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/10896] Move EMAIL_INVALID_EMAIL to common, replace EMAIL_INVALID

PHPBB3-10896
This commit is contained in:
Nathan Guse
2013-02-04 23:13:47 -06:00
parent 293b65e3ef
commit 5aec7600a6
3 changed files with 2 additions and 3 deletions

View File

@@ -452,7 +452,7 @@ function validate_config_vars($config_vars, &$cfg_array, &$error)
case 'email':
if (!preg_match('/^' . get_preg_expression('email') . '$/i', $cfg_array[$config_name]))
{
$error[] = $user->lang['EMAIL_INVALID'];
$error[] = $user->lang['EMAIL_INVALID_EMAIL'];
}
break;