diff options
Diffstat (limited to 'actions/twitapistatuses.php')
-rw-r--r-- | actions/twitapistatuses.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/actions/twitapistatuses.php b/actions/twitapistatuses.php index 2dcff985c..4ad2766c0 100644 --- a/actions/twitapistatuses.php +++ b/actions/twitapistatuses.php @@ -543,10 +543,8 @@ class TwitapistatusesAction extends TwitterapiAction { $this->show_single_json_status($notice); } } else { - - // XXX: This is all that Twitter does. It doesn't show an XML or JSON error msg. - // Should we call client_error() to be more consistent? - header('HTTP/1.1 404 Not Found'); + // XXX: Twitter just sets a 404 header and doens't bother to return an err msg + $this->client_error(_('No status with that ID found.'), 404, $apidata['content-type']); } exit(); |