From: Max Semenik Date: Wed, 29 Sep 2010 12:09:55 +0000 (+0000) Subject: Revert r73887. I blame Nikerabbit! X-Git-Tag: 1.31.0-rc.0~34752 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28%27static%27%2C%20filename=%27css/%22%24fichier/%7B%7B%20attachment.url%20%7D%7D?a=commitdiff_plain;h=3f38197f262e4d715b51c881f379299b0d07dcd3;p=lhc%2Fweb%2Fwiklou.git Revert r73887. I blame Nikerabbit! --- diff --git a/includes/db/DatabaseSqlite.php b/includes/db/DatabaseSqlite.php index 66aa744c7a..95c3db6d5f 100644 --- a/includes/db/DatabaseSqlite.php +++ b/includes/db/DatabaseSqlite.php @@ -88,7 +88,7 @@ class DatabaseSqlite extends DatabaseBase { } catch ( PDOException $e ) { $err = $e->getMessage(); } - if ( !$this->mConn ) { + if ( $this->mConn === false ) { wfDebug( "DB connection error: $err\n" ); if ( !$this->mFailFunction ) { throw new DBConnectionError( $this, $err );