From: Tim Starling Date: Sun, 23 May 2004 03:38:25 +0000 (+0000) Subject: fixed bug in tableExists() X-Git-Tag: 1.5.0alpha1~3226 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=53a43db6a8c85ab124fbfeada17dedef578bd111;p=lhc%2Fweb%2Fwiklou.git fixed bug in tableExists() --- 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 ) {