diff options
author | Evan Prodromou <evan@status.net> | 2010-12-13 13:08:38 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-12-13 13:08:38 -0500 |
commit | 156bd011afac0d5f4a37669c09e70a9b63d077ee (patch) | |
tree | 5460f8f61eb35b53d96fb2b19fe5a2979e3836b8 | |
parent | c5fee7573e486b572cb48d32f0286e76781775b6 (diff) |
fix navigation links for favorite feed
-rw-r--r-- | actions/atompubfavoritefeed.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actions/atompubfavoritefeed.php b/actions/atompubfavoritefeed.php index b4c15548f..478a01b7c 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')); |