diff --git a/phpBB/install.php b/phpBB/install.php index e33bc56ae0..b4d09a65f6 100644 --- a/phpBB/install.php +++ b/phpBB/install.php @@ -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'] . '
' . $instruction_text; }