From: Evan Prodromou Date: Sat, 1 May 2004 03:19:51 +0000 (+0000) Subject: Fixed quoting in contributors query. X-Git-Tag: 1.3.0beta1~170 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=37016965e24a5f92798df2407db82c9cf2acbd83;p=lhc%2Fweb%2Fwiklou.git Fixed quoting in contributors query. --- diff --git a/includes/Article.php b/includes/Article.php index 075aa6b674..ab8c752e01 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -411,7 +411,7 @@ class Article { " FROM old, user " . " WHERE old.old_user = user.user_id " . " AND old.old_namespace = " . $title->getNamespace() . - " AND old.old_title = '" . $title->getDBkey() . "'" . + " AND old.old_title = \"" . $title->getDBkey() . "\"" . " AND old.old_user != 0 " . " AND old.old_user != " . $this->getUser() . " GROUP BY old.old_user " .