]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix navigation links for subscriptions feed
authorEvan Prodromou <evan@status.net>
Mon, 13 Dec 2010 18:07:25 +0000 (13:07 -0500)
committerEvan Prodromou <evan@status.net>
Mon, 13 Dec 2010 18:07:25 +0000 (13:07 -0500)
actions/atompubsubscriptionfeed.php

index 95a6fdd1ac2984622fa93ca37e8b994eaec7edb7..15ae79f6a6c5782bd9ec9977d72d2994ddcd81ee 100644 (file)
@@ -168,8 +168,8 @@ class AtompubsubscriptionfeedAction extends ApiAuthAction
 
             $feed->addLink(common_local_url('AtomPubSubscriptionFeed',
                                             array('subscriber' => 
-                                                  $this->_profile->id,
-                                                  'page' => 
+                                                  $this->_profile->id),
+                                            array('page' => 
                                                   $this->page - 1)),
                            array('rel' => 'prev',
                                  'type' => 'application/atom+xml'));
@@ -179,8 +179,8 @@ class AtompubsubscriptionfeedAction extends ApiAuthAction
 
             $feed->addLink(common_local_url('AtomPubSubscriptionFeed',
                                             array('subscriber' =>
-                                                  $this->_profile->id,
-                                                  'page' =>
+                                                  $this->_profile->id),
+                                            array('page' =>
                                                   $this->page + 1)),
                            array('rel' => 'next',
                                  'type' => 'application/atom+xml'));