diff options
Diffstat (limited to 'actions')
-rw-r--r-- | actions/twitapiaccount.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/actions/twitapiaccount.php b/actions/twitapiaccount.php index 3a66e8885..f337a5450 100644 --- a/actions/twitapiaccount.php +++ b/actions/twitapiaccount.php @@ -80,9 +80,11 @@ class TwitapiaccountAction extends TwitterapiAction { } common_broadcast_profile($profile); + $type = $apidata['content-type']; - $apidata['api_arg'] = $user->id; - $this->show($args, $apidata); + $this->init_document($type); + $this->show_profile($profile, $type); + $this->end_document($type); exit(); } |