X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fatompubfavoritefeed.php;h=478a01b7c603e0d79417e9ce09f1b6860abbdca4;hb=6e894c010fc0e7ddaaafa8795634d6343019aafb;hp=b4c15548f523ed3f409998a94b57b9ca09dc304c;hpb=30f0defcf18df3fbcc6a8d333e00f5a0a8389275;p=quix0rs-gnu-social.git 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'));