mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Fixes a bug in install.php, accidentally added "The passwords do not match" in any case.
git-svn-id: file:///svn/phpbb/trunk@2312 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
b2d87a5021
commit
6066b8a5b0
1 changed files with 1 additions and 1 deletions
|
@ -516,7 +516,7 @@ else if( ( empty($install_step) || $admin_pass1 != $admin_pass2 || empty($admin_
|
|||
//
|
||||
$instruction_text = $lang['Inst_Step_0'];
|
||||
|
||||
if( ($HTTP_POST_VARS['admin_pass1'] != $HTTP_POST_VARS['admin_pass2']) || (empty($HTTP_POST_VARS['admin_pass1']) && !empty($dbhost)))
|
||||
if( (($HTTP_POST_VARS['admin_pass1'] != $HTTP_POST_VARS['admin_pass2']) && $install_step != '0') || (empty($HTTP_POST_VARS['admin_pass1']) && !empty($dbhost)))
|
||||
{
|
||||
$instruction_text = $lang['Password_mismatch'] . '<br />' . $instruction_text;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue