damn it damn it ... engage brain before commiting the thing you were going to change but didn't ... again, thanks acydburn

git-svn-id: file:///svn/phpbb/trunk@2393 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2002-03-21 15:45:13 +00:00
parent 2a260f4466
commit 7f42f5ac10

View file

@ -207,7 +207,7 @@ if ( isset($HTTP_POST_VARS['submit']) )
if ( empty($username) || empty($password) || empty($password_confirm) || empty($email) )
{
$error = TRUE;
$error_ms .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Fields_empty'];
$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Fields_empty'];
}
}
@ -258,11 +258,6 @@ if ( isset($HTTP_POST_VARS['submit']) )
$error = TRUE;
$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Password_mismatch'];
}
else if ( empty($password) && empty($password_confirm) && $mode == 'register' )
{
$error = TRUE;
$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Fields_empty'];
}
//
// Do a ban check on this email address