From: Max Semenik Date: Tue, 29 Jun 2010 09:20:09 +0000 (+0000) Subject: Fixed yet another borkage from r67707 X-Git-Tag: 1.31.0-rc.0~36348 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=b1fc491ae024143f1d5216f313b31f50c96529c3;p=lhc%2Fweb%2Fwiklou.git Fixed yet another borkage from r67707 --- diff --git a/includes/db/DatabasePostgres.php b/includes/db/DatabasePostgres.php index 6500591db0..230f238deb 100644 --- a/includes/db/DatabasePostgres.php +++ b/includes/db/DatabasePostgres.php @@ -309,7 +309,7 @@ class DatabasePostgres extends DatabaseBase { $connectVars['password'] = $password; @$this->mConn = pg_connect( $this->makeConnectionString( $connectVars ) ); - if ( $this->mConn ) { + if ( !$this->mConn ) { print "FAILED TO CONNECT!"; dieout(""); }