From: Brion Vibber Date: Fri, 19 Mar 2010 19:50:34 +0000 (-0700) Subject: Fix typo in public tag cloud query setup which caused the cutoff to get skipped. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2097e6a2939a9a5c3f49a4c978ab9c01784943d6;p=quix0rs-gnu-social.git Fix typo in public tag cloud query setup which caused the cutoff to get skipped. --- diff --git a/actions/publictagcloud.php b/actions/publictagcloud.php index 9993b2d3fd..70c356659a 100644 --- a/actions/publictagcloud.php +++ b/actions/publictagcloud.php @@ -109,7 +109,7 @@ class PublictagcloudAction extends Action $cutoff = sprintf("notice_tag.created > '%s'", common_sql_date(time() - common_config('tag', 'cutoff'))); $tags->selectAdd($calc . ' as weight'); - $tags->addWhere($cutoff); + $tags->whereAdd($cutoff); $tags->groupBy('tag'); $tags->orderBy('weight DESC');