From b8e4029eab6dd9fe6e90f47d340a95888f2b9c4c Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Tue, 11 Jan 2011 14:00:47 +0000 Subject: [PATCH] Fix copy+paste mistake from r79989 --- includes/installer/PostgresInstaller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/installer/PostgresInstaller.php b/includes/installer/PostgresInstaller.php index c562d17408..a811dff078 100644 --- a/includes/installer/PostgresInstaller.php +++ b/includes/installer/PostgresInstaller.php @@ -214,7 +214,7 @@ class PostgresInstaller extends DatabaseInstaller { $conn = $status->value; $dbName = $this->getVar( 'wgDBname' ); - $SQL = "SELECT 1 FROM pg_catalog.pg_database WHERE datname = " . $conn->addQuotes( $wgDBname ); + $SQL = "SELECT 1 FROM pg_catalog.pg_database WHERE datname = " . $conn->addQuotes( $dbName ); $rows = $conn->numRows( $conn->doQuery( $SQL ) ); if( !$rows ) { $schema = $this->getVar( 'wgDBmwschema' ); -- 2.20.1