Index: trunk/phase3/includes/db/DatabasePostgres.php |
— | — | @@ -1355,7 +1355,7 @@ |
1356 | 1356 | echo "<li>Populating interwiki table... "; |
1357 | 1357 | ## Avoid the non-standard "REPLACE INTO" syntax |
1358 | 1358 | $f = fopen( "../maintenance/interwiki.sql", 'r' ); |
1359 | | - if ( $f ) { |
| 1359 | + if ( !$f ) { |
1360 | 1360 | print "<b>FAILED</b></li>"; |
1361 | 1361 | dieout( "Could not find the interwiki.sql file" ); |
1362 | 1362 | } |