mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00: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:
parent
21f720a265
commit
5047d43ca3
1 changed files with 1 additions and 6 deletions
|
@ -253,12 +253,7 @@ if ( isset($HTTP_POST_VARS['submit']) )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if ( empty($password) && empty($password_confirm) )
|
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'];
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
$error = TRUE;
|
$error = TRUE;
|
||||||
$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Password_mismatch'];
|
$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Password_mismatch'];
|
||||||
|
|
Loading…
Add table
Reference in a new issue