From: Brenda Wallace Date: Fri, 28 Aug 2009 09:04:15 +0000 (+1200) Subject: fix for postgres - was using a non-existent variable to work out if should write... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=53ec4223e4f175d19d158a9e487e7c6d447d76de;p=quix0rs-gnu-social.git fix for postgres - was using a non-existent variable to work out if should write quote_identifiers=true --- diff --git a/install.php b/install.php index 4c5bc38aee..f4dcef2e85 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". "?>";