Skip to content

Commit

Permalink
Fix update_profile_image bug
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaosier committed Mar 9, 2015
1 parent 83bcc8e commit 13ec34f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion saetv2.ex.class.php
Expand Up @@ -2501,7 +2501,7 @@ function update_profile_image( $image_path )
$params = array();
$params['image'] = "@{$image_path}";

return $this->oauth->post('account/avatar/upload', $params);
return $this->oauth->post('account/avatar/upload', $params, true);
}

/**
Expand Down

0 comments on commit 13ec34f

Please sign in to comment.