From 41791946adc695a39fbf92fe0430bf7c92c4df20 Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Mon, 6 Sep 2004 10:02:16 +0000 Subject: [PATCH] fix GROUP BY --- includes/Article.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1