diff options
author | Brenda Wallace <shiny@cpan.org> | 2009-08-28 21:04:15 +1200 |
---|---|---|
committer | Brenda Wallace <shiny@cpan.org> | 2009-08-28 21:04:15 +1200 |
commit | 53ec4223e4f175d19d158a9e487e7c6d447d76de (patch) | |
tree | bdc8d6dfd239068b34d3b832e62d4120fdc709e5 /install.php | |
parent | 815630fe6377824fd94c93463938603aed5f6ea8 (diff) |
fix for postgres - was using a non-existent variable to work out if should write quote_identifiers=true
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install.php b/install.php index 4c5bc38ae..f4dcef2e8 100644 --- a/install.php +++ b/install.php @@ -624,7 +624,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". "?>"; |