Fixed a fatal installer failure on PG introduced in r67707. 1.16 is unaffected
authorMax Semenik <maxsem@users.mediawiki.org>
Tue, 29 Jun 2010 09:11:37 +0000 (09:11 +0000)
committerMax Semenik <maxsem@users.mediawiki.org>
Tue, 29 Jun 2010 09:11:37 +0000 (09:11 +0000)
includes/db/DatabasePostgres.php

index e321906..6500591 100644 (file)
@@ -1355,7 +1355,7 @@ SQL;
                echo "<li>Populating interwiki table... ";
                ## Avoid the non-standard "REPLACE INTO" syntax
                $f = fopen( "../maintenance/interwiki.sql", 'r' );
-               if ( $f ) {
+               if ( !$f ) {
                        print "<b>FAILED</b></li>";
                        dieout( "Could not find the interwiki.sql file" );
                }