From 7d8370a17829c260dbf4a7623aed10d37b1f3420 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Sun, 26 Nov 2017 16:24:26 +0100 Subject: [PATCH] tag cloud: fix query --- include/tags.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tags.php b/include/tags.php index 7ea15f0b98..ba8770e6f9 100644 --- a/include/tags.php +++ b/include/tags.php @@ -186,7 +186,7 @@ function tagadelic($uid, $count = 0, $owner_id = 0, $flags = '', $type = TERM_HA WHERE `term`.`uid` = ? AND `term`.`type` = ? AND `term`.`otype` = ? AND $item_condition $sql_options - GROUP BY `term` ORDER BY `total` DESC ? $limit", + GROUP BY `term` ORDER BY `total` DESC $limit", $uid, $type, TERM_OBJ_POST