Fix for #527628 .. D@mn me and my stupiddity...

git-svn-id: file:///svn/phpbb/trunk@2294 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
the_systech 2002-03-11 21:55:20 +00:00
parent 90eb203cd9
commit 2cb1999807

View file

@ -514,7 +514,7 @@ else if( ( empty($install_step) || $admin_pass1 != $admin_pass2 || empty($admin_
// //
$instruction_text = $lang['Inst_Step_0']; $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'] . '<br />' . $instruction_text; $instruction_text = $lang['Password_mismatch'] . '<br />' . $instruction_text;
} }