From: Mikael Nordfeldth Date: Sat, 10 Oct 2015 15:12:44 +0000 (+0200) Subject: Don't send multiple error responses in ApiMediaUpload :) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5d91c9a820ba6097b7763a4b7c20fba51b470943;p=quix0rs-gnu-social.git Don't send multiple error responses in ApiMediaUpload :) --- diff --git a/actions/apimediaupload.php b/actions/apimediaupload.php index 8e59fec59c..155cad0884 100644 --- a/actions/apimediaupload.php +++ b/actions/apimediaupload.php @@ -114,5 +114,6 @@ class ApiMediaUploadAction extends ApiAuthAction $this->element('err', $errAttr, null); $this->elementEnd('rsp'); $this->endDocument(); + exit; } }