]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/atompubfavoritefeed.php
fix navigation links for favorite feed
[quix0rs-gnu-social.git] / actions / atompubfavoritefeed.php
index b4c15548f523ed3f409998a94b57b9ca09dc304c..478a01b7c603e0d79417e9ce09f1b6860abbdca4 100644 (file)
@@ -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'));