From: Chad Horohoe Date: Tue, 11 Jan 2011 14:00:47 +0000 (+0000) Subject: Fix copy+paste mistake from r79989 X-Git-Tag: 1.31.0-rc.0~32625 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=b8e4029eab6dd9fe6e90f47d340a95888f2b9c4c;p=lhc%2Fweb%2Fwiklou.git Fix copy+paste mistake from r79989 --- 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' );