]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix navigation links for favorite feed
authorEvan Prodromou <evan@status.net>
Mon, 13 Dec 2010 18:08:38 +0000 (13:08 -0500)
committerEvan Prodromou <evan@status.net>
Mon, 13 Dec 2010 18:08:38 +0000 (13:08 -0500)
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'));