From: Evan Prodromou Date: Mon, 13 Dec 2010 18:07:25 +0000 (-0500) Subject: fix navigation links for subscriptions feed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c5fee7573e486b572cb48d32f0286e76781775b6;p=quix0rs-gnu-social.git fix navigation links for subscriptions feed --- diff --git a/actions/atompubsubscriptionfeed.php b/actions/atompubsubscriptionfeed.php index 95a6fdd1ac..15ae79f6a6 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'));