From: Alexandre Emsenhuber Date: Sun, 3 Oct 2010 08:05:26 +0000 (+0000) Subject: Added fname parameter to the query() call X-Git-Tag: 1.31.0-rc.0~34653 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22auteur_infos%22%2C%20%22id_auteur=%24id%22%29%20.%20%22?a=commitdiff_plain;h=329d1c5f2ebf734bc1c28a1ae8b06da8f7b8af4b;p=lhc%2Fweb%2Fwiklou.git Added fname parameter to the query() call --- diff --git a/includes/db/Database.php b/includes/db/Database.php index 450d04b7ad..e249ccb2a0 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -1232,7 +1232,7 @@ abstract class DatabaseBase implements DatabaseType { function tableExists( $table ) { $table = $this->tableName( $table ); $old = $this->ignoreErrors( true ); - $res = $this->query( "SELECT 1 FROM $table LIMIT 1" ); + $res = $this->query( "SELECT 1 FROM $table LIMIT 1", __METHOD__ ); $this->ignoreErrors( $old ); return (bool)$res;