Index: trunk/phase3/includes/installer/PostgresInstaller.php |
— | — | @@ -214,7 +214,7 @@ |
215 | 215 | $conn = $status->value; |
216 | 216 | |
217 | 217 | $dbName = $this->getVar( 'wgDBname' ); |
218 | | - $SQL = "SELECT 1 FROM pg_catalog.pg_database WHERE datname = " . $conn->addQuotes( $wgDBname ); |
| 218 | + $SQL = "SELECT 1 FROM pg_catalog.pg_database WHERE datname = " . $conn->addQuotes( $dbName ); |
219 | 219 | $rows = $conn->numRows( $conn->doQuery( $SQL ) ); |
220 | 220 | if( !$rows ) { |
221 | 221 | $schema = $this->getVar( 'wgDBmwschema' ); |