From 04c6272915cf4f53e45b75dedc9b93f8cdfa76cc Mon Sep 17 00:00:00 2001 From: Brett Taylor Date: Tue, 11 Aug 2009 15:26:41 +1200 Subject: 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. --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install.php') 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". "?>"; -- cgit v1.2.3-54-g00ecf