aboutsummaryrefslogtreecommitdiffstats
path: root/include/taxonomy.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/taxonomy.php')
-rw-r--r--include/taxonomy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/taxonomy.php b/include/taxonomy.php
index b8180f7c8..30eb08f65 100644
--- a/include/taxonomy.php
+++ b/include/taxonomy.php
@@ -165,7 +165,7 @@ function dir_tagadelic($count = 0) {
// Fetch tags
$r = q("select xtag_term, count(xtag_term) as total from xtag
- group by term order by total desc %s",
+ group by xtag_term order by total desc %s",
((intval($count)) ? "limit $count" : '')
);