summaryrefslogtreecommitdiff
path: root/actions/apiaccountupdateprofileimage.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/apiaccountupdateprofileimage.php')
-rw-r--r--actions/apiaccountupdateprofileimage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/apiaccountupdateprofileimage.php b/actions/apiaccountupdateprofileimage.php
index 2f8e9628c..153ef7818 100644
--- a/actions/apiaccountupdateprofileimage.php
+++ b/actions/apiaccountupdateprofileimage.php
@@ -135,7 +135,7 @@ class ApiAccountUpdateProfileImageAction extends ApiAuthAction
common_broadcast_profile($profile);
- $twitter_user = $this->twitterUserArray($this->user->getProfile(), true);
+ $twitter_user = $this->twitterUserArray($profile, true);
if ($this->format == 'xml') {
$this->initDocument('xml');