summaryrefslogtreecommitdiff
path: root/actions/subscribed.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-17 21:55:51 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-17 21:55:51 -0400
commit793d48dc9e1d73d871bf34d9f7c1da8916134d1b (patch)
treeeca9b97ed3da44402029f6509be9df539524ad73 /actions/subscribed.php
parent81e037558f784d3784f61ef2dd9d17acc79255ec (diff)
smaller packet
darcs-hash:20080518015551-84dde-65964e140ed0b6c23aeee368fcffccdc14d71c61.gz
Diffstat (limited to 'actions/subscribed.php')
-rw-r--r--actions/subscribed.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/subscribed.php b/actions/subscribed.php
index 8e0b2bc6b..158e34f9d 100644
--- a/actions/subscribed.php
+++ b/actions/subscribed.php
@@ -41,12 +41,12 @@ class SubscribedAction extends Action {
function show_subscribed($profile, $page) {
- $sub = DB_DataObject::factory('subscriptions');
- $sub->subscribed = $profile->id;
+ $subs = DB_DataObject::factory('subscription');
+ $subs->subscribed = $profile->id;
# We ask for an extra one to know if we need to do another page
- $sub->limit((($page-1)*SUBSCRIPTIONS_PER_PAGE)+1, SUBSCRIPTIONS_PER_PAGE + 1);
+ $subs->limit((($page-1)*SUBSCRIPTIONS_PER_PAGE)+1, SUBSCRIPTIONS_PER_PAGE + 1);
$subs_count = $subs->find();