diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-05-17 21:55:51 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-05-17 21:55:51 -0400 |
commit | 793d48dc9e1d73d871bf34d9f7c1da8916134d1b (patch) | |
tree | eca9b97ed3da44402029f6509be9df539524ad73 /actions/subscribed.php | |
parent | 81e037558f784d3784f61ef2dd9d17acc79255ec (diff) |
smaller packet
darcs-hash:20080518015551-84dde-65964e140ed0b6c23aeee368fcffccdc14d71c61.gz
Diffstat (limited to 'actions/subscribed.php')
-rw-r--r-- | actions/subscribed.php | 6 |
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(); |