From 56589ff4998679fef93346260a7d066dd9862d97 Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Mon, 21 Jun 2004 12:07:41 +0000 Subject: [PATCH] fix isOpen (mOpened was not defined on connect) --- includes/DatabasePostgreSQL.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/DatabasePostgreSQL.php b/includes/DatabasePostgreSQL.php index 80c762ad3c..f9add198cc 100644 --- a/includes/DatabasePostgreSQL.php +++ b/includes/DatabasePostgreSQL.php @@ -122,6 +122,8 @@ class Database { wfDebug( "DB connection error\n" ); wfDebug( "Server: $server, Database: $dbName, User: $user, Password: " . substr( $password, 0, 3 ) . "...\n" ); wfDebug( $this->lastError()."\n" ); + } else { + $this->mOpened = true; } } return $this->mConn; -- 2.20.1