X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiUpload.php;h=373ec112716f4f28932e73f36ee5c07b9be4841f;hb=5455d4c43122d66e1bc1a62d700684e14f13e557;hp=b15b9989a00a50ce471c95f657efa14b344d472d;hpb=1e289e5424be2bfe62213dde90bea658b874f7e6;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiUpload.php b/includes/api/ApiUpload.php index b15b9989a0..373ec11271 100644 --- a/includes/api/ApiUpload.php +++ b/includes/api/ApiUpload.php @@ -794,6 +794,7 @@ class ApiUpload extends ApiBase { } // No errors, no warnings: do the upload + $result = []; if ( $this->mParams['async'] ) { $progress = UploadBase::getSessionStatus( $this->getUser(), $this->mParams['filekey'] ); if ( $progress && $progress['result'] === 'Poll' ) {