diff options
author | the_systech <the_systech@users.sourceforge.net> | 2002-03-11 21:55:20 +0000 |
---|---|---|
committer | the_systech <the_systech@users.sourceforge.net> | 2002-03-11 21:55:20 +0000 |
commit | 2cb19998075c7df3b12fe9fc0c5949deb0f796a2 (patch) | |
tree | 00c70e41d11478c989800ff70c9478ae473d7215 /phpBB/install.php | |
parent | 90eb203cd9d5cf16f697af37e8148ca7accbad71 (diff) | |
download | forums-2cb19998075c7df3b12fe9fc0c5949deb0f796a2.tar forums-2cb19998075c7df3b12fe9fc0c5949deb0f796a2.tar.gz forums-2cb19998075c7df3b12fe9fc0c5949deb0f796a2.tar.bz2 forums-2cb19998075c7df3b12fe9fc0c5949deb0f796a2.tar.xz forums-2cb19998075c7df3b12fe9fc0c5949deb0f796a2.zip |
Fix for #527628 .. D@mn me and my stupiddity...
git-svn-id: file:///svn/phpbb/trunk@2294 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install.php')
-rw-r--r-- | phpBB/install.php | 2 |
1 files changed, 1 insertions, 1 deletions
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'] . '<br />' . $instruction_text; } |