From 53a43db6a8c85ab124fbfeada17dedef578bd111 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sun, 23 May 2004 03:38:25 +0000 Subject: [PATCH] fixed bug in tableExists() --- includes/Database.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/Database.php b/includes/Database.php index d84625492f..4994f74eb5 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 ) { -- 2.20.1