fix sql for directory tagcloud
This commit is contained in:
parent
f7acc94bfe
commit
b0a4f1b30a
@ -165,7 +165,7 @@ function dir_tagadelic($count = 0) {
|
|||||||
|
|
||||||
// Fetch tags
|
// Fetch tags
|
||||||
$r = q("select xtag_term, count(xtag_term) as total from xtag
|
$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" : '')
|
((intval($count)) ? "limit $count" : '')
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user