From 2cb19998075c7df3b12fe9fc0c5949deb0f796a2 Mon Sep 17 00:00:00 2001 From: the_systech Date: Mon, 11 Mar 2002 21:55:20 +0000 Subject: [PATCH] Fix for #527628 .. D@mn me and my stupiddity... git-svn-id: file:///svn/phpbb/trunk@2294 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/install.php b/phpBB/install.php index 27f7686487..8928830946 100644 --- a/phpBB/install.php +++ b/phpBB/install.php @@ -514,7 +514,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'] )) + if( ($HTTP_POST_VARS['admin_pass1'] != $HTTP_POST_VARS['admin_pass2']) || (empty($HTTP_POST_VARS['admin_pass1']) && !empty($dbhost))) { $instruction_text = $lang['Password_mismatch'] . '
' . $instruction_text; }