From b0a4f1b30ab9bf5de2182b475ab5639f63a8e53f Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 17 Sep 2013 22:56:09 -0700 Subject: fix sql for directory tagcloud --- include/taxonomy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/taxonomy.php') 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" : '') ); -- cgit v1.2.3