mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
This one has the added benefit of working ...
git-svn-id: file:///svn/phpbb/trunk@2389 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -253,12 +253,7 @@ if ( isset($HTTP_POST_VARS['submit']) )
|
||||
}
|
||||
}
|
||||
}
|
||||
else if ( empty($password) && empty($password_confirm) )
|
||||
{
|
||||
$error = TRUE;
|
||||
$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Password_mismatch'];
|
||||
}
|
||||
else
|
||||
else if ( ( empty($password) && !empty($password_confirm) ) || ( !empty($password) && empty($password_confirm) ) || ( empty($password) && empty($password_confirm) && $mode == 'register' ) )
|
||||
{
|
||||
$error = TRUE;
|
||||
$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Password_mismatch'];
|
||||
|
Reference in New Issue
Block a user