diff options
author | Zach Copley <zach@status.net> | 2009-11-04 21:00:26 -0800 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2009-11-04 21:00:26 -0800 |
commit | 527427d3e0752a371b1b6421dabec5cc1c7e19ad (patch) | |
tree | b93f82742b41a7de053151a26957388b2eb5dd37 /actions/apistatusesupdate.php | |
parent | eb42ad5635c65dd7c25ea57bd5b6e56114054ae0 (diff) |
Implement update avatar via API (/api/account/update_profile_image.format)
Diffstat (limited to 'actions/apistatusesupdate.php')
-rw-r--r-- | actions/apistatusesupdate.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/apistatusesupdate.php b/actions/apistatusesupdate.php index b9c0832a4..82fe5a537 100644 --- a/actions/apistatusesupdate.php +++ b/actions/apistatusesupdate.php @@ -128,7 +128,7 @@ class ApiStatusesUpdateAction extends ApiAuthAction // Workaround for PHP returning empty $_FILES when POST length > PHP settings - if (empty($_POST) && ($_SERVER['CONTENT_LENGTH'] > 0)) { + if (empty($_FILES) && ($_SERVER['CONTENT_LENGTH'] > 0)) { $this->clientError(_('Unable to handle that much POST data!')); return; } |