diff --git a/includes/Database.php b/includes/Database.php index d84625492f8..4994f74eb54 100644 --- a/includes/Database.php +++ b/includes/Database.php @@ -334,6 +334,7 @@ class Database { function tableExists( $table ) { $old = $this->mIgnoreErrors; + $this->mIgnoreErrors = true; $res = $this->query( "SELECT 1 FROM $table LIMIT 1" ); $this->mIgnoreErrors = $old; if( $res ) {