summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-03-19 12:50:34 -0700
committerBrion Vibber <brion@pobox.com>2010-03-19 12:50:34 -0700
commit2097e6a2939a9a5c3f49a4c978ab9c01784943d6 (patch)
treedf59f0b7562c96cccdc206d845d630435ecffbd2 /actions
parent5e54e7b55d8474779b0d458e51ba5311b1a42708 (diff)
Fix typo in public tag cloud query setup which caused the cutoff to get skipped.
Diffstat (limited to 'actions')
-rw-r--r--actions/publictagcloud.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/publictagcloud.php b/actions/publictagcloud.php
index 9993b2d3f..70c356659 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');