summaryrefslogtreecommitdiff
path: root/includes/SpecialMostcategories.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/SpecialMostcategories.php')
-rw-r--r--includes/SpecialMostcategories.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/SpecialMostcategories.php b/includes/SpecialMostcategories.php
index 5591bbc4..c0d662cc 100644
--- a/includes/SpecialMostcategories.php
+++ b/includes/SpecialMostcategories.php
@@ -31,7 +31,7 @@ class MostcategoriesPage extends QueryPage {
FROM $categorylinks
LEFT JOIN $page ON cl_from = page_id
WHERE page_namespace = " . NS_MAIN . "
- GROUP BY cl_from
+ GROUP BY 1,2,3
HAVING COUNT(*) > 1
";
}