From: Evan Prodromou Date: Mon, 13 Dec 2010 18:08:38 +0000 (-0500) Subject: fix navigation links for favorite feed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=156bd011afac0d5f4a37669c09e70a9b63d077ee;p=quix0rs-gnu-social.git fix navigation links for favorite feed --- diff --git a/actions/atompubfavoritefeed.php b/actions/atompubfavoritefeed.php index b4c15548f5..478a01b7c6 100644 --- a/actions/atompubfavoritefeed.php +++ b/actions/atompubfavoritefeed.php @@ -163,8 +163,8 @@ class AtompubfavoritefeedAction extends ApiAuthAction $feed->addLink(common_local_url('AtomPubFavoriteFeed', array('profile' => - $this->_profile->id, - 'page' => + $this->_profile->id), + array('page' => $this->page - 1)), array('rel' => 'prev', 'type' => 'application/atom+xml')); @@ -174,8 +174,8 @@ class AtompubfavoritefeedAction extends ApiAuthAction $feed->addLink(common_local_url('AtomPubFavoriteFeed', array('profile' => - $this->_profile->id, - 'page' => + $this->_profile->id), + array('page' => $this->page + 1)), array('rel' => 'next', 'type' => 'application/atom+xml'));