From: Max Semenik Date: Tue, 29 Jun 2010 09:11:37 +0000 (+0000) Subject: Fixed a fatal installer failure on PG introduced in r67707. 1.16 is unaffected X-Git-Tag: 1.31.0-rc.0~36349 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=83b88a5f3b3658077e8e777824a71b6000a742f2;p=lhc%2Fweb%2Fwiklou.git Fixed a fatal installer failure on PG introduced in r67707. 1.16 is unaffected --- 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" ); }