From 59812bc74f992faa591c2ed6bec57eb98350f004 Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 31 Aug 2004 12:53:51 +0000 Subject: [PATCH] Dammit ... editing too fast --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.php b/install.php index 75314f1768..a11b28405a 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"; -- 2.39.5