summaryrefslogtreecommitdiff
path: root/includes/SpecialMostimages.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/SpecialMostimages.php')
-rw-r--r--includes/SpecialMostimages.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/SpecialMostimages.php b/includes/SpecialMostimages.php
index 30fbdddf..09f71088 100644
--- a/includes/SpecialMostimages.php
+++ b/includes/SpecialMostimages.php
@@ -29,7 +29,7 @@ class MostimagesPage extends QueryPage {
il_to as title,
COUNT(*) as value
FROM $imagelinks
- GROUP BY il_to
+ GROUP BY 1,2,3
HAVING COUNT(*) > 1
";
}