From: Brett Taylor Date: Tue, 11 Aug 2009 03:26:41 +0000 (+1200) Subject: fix for trac bug #1805: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=04c6272915cf4f53e45b75dedc9b93f8cdfa76cc;p=quix0rs-gnu-social.git fix for trac bug #1805: bug on line 381 referred to non existant variable, and caused a php notice and potentially would create a misconfigured config.php database type setting. --- diff --git a/install.php b/install.php index f02a066638..9bcee275f1 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". "?>";