]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
AtomPub fix: correct the response URL given from posting a new message (wrong paramet...
authorBrion Vibber <brion@pobox.com>
Tue, 14 Dec 2010 21:19:22 +0000 (13:19 -0800)
committerBrion Vibber <brion@pobox.com>
Tue, 14 Dec 2010 21:19:22 +0000 (13:19 -0800)
actions/apitimelineuser.php

index ca4b090a16141b29b871cda6bafa6ef1c42fee59..81809670b4b4b5aa8a734ba99c59c2fd6ef48b37 100644 (file)
@@ -356,7 +356,7 @@ class ApiTimelineUserAction extends ApiBareAuthAction
 
         if (!empty($saved)) {
             header('HTTP/1.1 201 Created');
-            header("Location: " . common_local_url('ApiStatusesShow', array('notice_id' => $saved->id,
+            header("Location: " . common_local_url('ApiStatusesShow', array('id' => $saved->id,
                                                                             'format' => 'atom')));
             $this->showSingleAtomStatus($saved);
         }