From: Domas Mituzas Date: Mon, 6 Sep 2004 10:02:16 +0000 (+0000) Subject: fix GROUP BY X-Git-Tag: 1.5.0alpha1~2083 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=41791946adc695a39fbf92fe0430bf7c92c4df20;p=lhc%2Fweb%2Fwiklou.git fix GROUP BY --- diff --git a/includes/Article.php b/includes/Article.php index ff526162ee..e355d47bb3 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -706,7 +706,7 @@ class Article { WHERE old_namespace = $user AND old_title = $encDBkey AND old_user != $user - GROUP BY old_user + GROUP BY old_user, old_user_text ORDER BY timestamp DESC"; if ($limit > 0) { $sql .= ' LIMIT '.$limit; }