From e5bd075113687b73dfbaaf2b143dc6f680dc240c Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 31 Aug 2004 12:56:11 +0000 Subject: [PATCH] Fixing my recent typo --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.php b/install.php index 75314f17681..a11b28405a4 100644 --- a/install.php +++ b/install.php @@ -281,7 +281,7 @@ if ($nextstage == 5) { $str .= '$CFG->dbtype = \''.$INSTALL['dbtype']."';\r\n"; $str .= '$CFG->dbhost = \''.$INSTALL['dbhost']."';\r\n"; - if (empty($INSTALL['dbname'])) { + if (!empty($INSTALL['dbname'])) { $str .= '$CFG->dbname = \''.$INSTALL['dbname']."';\r\n"; $str .= '$CFG->dbuser = \''.$INSTALL['dbuser']."';\r\n"; $str .= '$CFG->dbpass = \''.$INSTALL['dbpass']."';\r\n";