Index: trunk/phase3/includes/db/DatabaseSqlite.php |
— | — | @@ -88,7 +88,7 @@ |
89 | 89 | } catch ( PDOException $e ) { |
90 | 90 | $err = $e->getMessage(); |
91 | 91 | } |
92 | | - if ( !$this->mConn ) { |
| 92 | + if ( $this->mConn === false ) { |
93 | 93 | wfDebug( "DB connection error: $err\n" ); |
94 | 94 | if ( !$this->mFailFunction ) { |
95 | 95 | throw new DBConnectionError( $this, $err ); |