diff options
author | Brion Vibber <brion@pobox.com> | 2010-12-14 13:19:22 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-12-14 13:19:22 -0800 |
commit | 82a9560a2d11f6b9355b26f23fb1bfe224d60bfd (patch) | |
tree | 12683611defc97558df2d765c55f45f6bc2eb76f /actions/apitimelineuser.php | |
parent | 54a0e801f3485424d0ad352c02ab331b2f7a11fb (diff) |
AtomPub fix: correct the response URL given from posting a new message (wrong parameter meant we got the main page instead of the message's URL)
Diffstat (limited to 'actions/apitimelineuser.php')
-rw-r--r-- | actions/apitimelineuser.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/apitimelineuser.php b/actions/apitimelineuser.php index ca4b090a1..81809670b 100644 --- a/actions/apitimelineuser.php +++ b/actions/apitimelineuser.php @@ -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); } |