summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-03-19 15:29:00 -0700
committerBrion Vibber <brion@pobox.com>2010-03-19 15:29:00 -0700
commit79ec565104b8d546e4f2ffca2f351fba1be753d2 (patch)
treec92916aac3354722f597f3dd3a6c8fd65ea94a36 /actions
parent1292230e380300e194f0695f95fe1554cd7863a5 (diff)
parent8a221228ebac156cbbb4693b06e25a0c59c858c3 (diff)
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing
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');