From 83b88a5f3b3658077e8e777824a71b6000a742f2 Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Tue, 29 Jun 2010 09:11:37 +0000 Subject: [PATCH] Fixed a fatal installer failure on PG introduced in r67707. 1.16 is unaffected --- includes/db/DatabasePostgres.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/db/DatabasePostgres.php b/includes/db/DatabasePostgres.php index e3219069e3..6500591db0 100644 --- a/includes/db/DatabasePostgres.php +++ b/includes/db/DatabasePostgres.php @@ -1355,7 +1355,7 @@ SQL; echo "
  • Populating interwiki table... "; ## Avoid the non-standard "REPLACE INTO" syntax $f = fopen( "../maintenance/interwiki.sql", 'r' ); - if ( $f ) { + if ( !$f ) { print "FAILED
  • "; dieout( "Could not find the interwiki.sql file" ); } -- 2.20.1