From: moodler Date: Tue, 31 Aug 2004 12:53:51 +0000 (+0000) Subject: Dammit ... editing too fast X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=59812bc74f992faa591c2ed6bec57eb98350f004;p=moodle.git Dammit ... editing too fast --- 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";