Change lang output upon no passwords entered to Fields_empty ... thanks acydburn ... completely forgot about that :D

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

View file

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