From c5fee7573e486b572cb48d32f0286e76781775b6 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 13 Dec 2010 13:07:25 -0500 Subject: fix navigation links for subscriptions feed --- actions/atompubsubscriptionfeed.php | 8 ++++---- 1 file 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')); -- cgit v1.2.3-54-g00ecf