summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.php b/install.php
index f02a06663..9bcee275f 100644
--- a/install.php
+++ b/install.php
@@ -378,7 +378,7 @@ function writeConf($sitename, $server, $path, $fancy, $db)
// database
"\$config['db']['database'] = '{$db['database']}';\n\n".
- ($type == 'pgsql' ? "\$config['db']['quote_identifiers'] = true;\n\n":'').
+ ($db['type'] == 'pgsql' ? "\$config['db']['quote_identifiers'] = true;\n\n":'').
"\$config['db']['type'] = '{$db['type']}';\n\n".
"?>";