mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
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:
parent
8aaf250314
commit
2a260f4466
1 changed files with 6 additions and 1 deletions
|
@ -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_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
|
||||
|
|
Loading…
Add table
Reference in a new issue