diff options
author | David M <davidmj@users.sourceforge.net> | 2006-08-17 13:23:49 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2006-08-17 13:23:49 +0000 |
commit | c2f253af23d765674f9e5ea0f7209dec176a015c (patch) | |
tree | c68d227c118d61f037a94a245f93c650603c78bd | |
parent | 6294974d863fc7220b55b8fc7ab72a2bb399157c (diff) | |
download | forums-c2f253af23d765674f9e5ea0f7209dec176a015c.tar forums-c2f253af23d765674f9e5ea0f7209dec176a015c.tar.gz forums-c2f253af23d765674f9e5ea0f7209dec176a015c.tar.bz2 forums-c2f253af23d765674f9e5ea0f7209dec176a015c.tar.xz forums-c2f253af23d765674f9e5ea0f7209dec176a015c.zip |
*** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@6298 89ea8834-ac86-4346-8a33-228a782c2dd0
-rwxr-xr-x | phpBB/install/install_install.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php index 60bc34c41a..e318683334 100755 --- a/phpBB/install/install_install.php +++ b/phpBB/install/install_install.php @@ -587,7 +587,7 @@ class install_install extends module $error[] = $lang['INST_ERR_EMAIL_MISMATCH']; } - if ($board_email1 != '' && !preg_match('#^[a-z0-9\.\-_\+]+?@(.*?\.)*?[a-z0-9\-_]+?\.[a-z]{2,4}$#i', $board_email1)) + if ($board_email1 != '' && !preg_match('/^' . get_preg_expression('email') . '$/i', $board_email1)) { $error[] = $lang['INST_ERR_EMAIL_INVALID']; } |