http://www.mediawiki.org/wiki/Special:Code/MediaWiki/68717

Revision: 68717
Author:   maxsem
Date:     2010-06-29 09:20:09 +0000 (Tue, 29 Jun 2010)

Log Message:
-----------
Fixed yet another borkage from r67707

Modified Paths:
--------------
    trunk/phase3/includes/db/DatabasePostgres.php

Modified: trunk/phase3/includes/db/DatabasePostgres.php
===================================================================
--- trunk/phase3/includes/db/DatabasePostgres.php       2010-06-29 09:11:37 UTC 
(rev 68716)
+++ trunk/phase3/includes/db/DatabasePostgres.php       2010-06-29 09:20:09 UTC 
(rev 68717)
@@ -309,7 +309,7 @@
                                $connectVars['password'] = $password;
 
                                @$this->mConn = pg_connect( 
$this->makeConnectionString( $connectVars ) );
-                               if ( $this->mConn ) {
+                               if ( !$this->mConn ) {
                                        print "<b>FAILED TO CONNECT!</b></li>";
                                        dieout("</ul>");
                                }



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to