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:51:27 -0700
commit8a221228ebac156cbbb4693b06e25a0c59c858c3 (patch)
treebf388a6b29ba24b9a1b73c4ef67db19911298ba3 /actions
parent5c314c22885f78a04684637cb8a0e4e745220bd9 (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');