diff options
author | Evan Prodromou <evan@status.net> | 2010-12-13 13:07:25 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-12-13 13:07:25 -0500 |
commit | c5fee7573e486b572cb48d32f0286e76781775b6 (patch) | |
tree | d63ec9ebbbf48f154d73f0ce718e5750fa676df6 | |
parent | 5bbd77b761bfaed08903a3c3319c2ad0a99d7e3f (diff) |
fix navigation links for subscriptions feed
-rw-r--r-- | actions/atompubsubscriptionfeed.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actions/atompubsubscriptionfeed.php b/actions/atompubsubscriptionfeed.php index 95a6fdd1a..15ae79f6a 100644 --- a/actions/atompubsubscriptionfeed.php +++ b/actions/atompubsubscriptionfeed.php @@ -168,8 +168,8 @@ class AtompubsubscriptionfeedAction extends ApiAuthAction $feed->addLink(common_local_url('AtomPubSubscriptionFeed', array('subscriber' => - $this->_profile->id, - 'page' => + $this->_profile->id), + array('page' => $this->page - 1)), array('rel' => 'prev', 'type' => 'application/atom+xml')); @@ -179,8 +179,8 @@ class AtompubsubscriptionfeedAction extends ApiAuthAction $feed->addLink(common_local_url('AtomPubSubscriptionFeed', array('subscriber' => - $this->_profile->id, - 'page' => + $this->_profile->id), + array('page' => $this->page + 1)), array('rel' => 'next', 'type' => 'application/atom+xml')); |