From: Sam Reed Date: Thu, 10 Nov 2011 20:50:21 +0000 (+0000) Subject: Documentation X-Git-Tag: 1.31.0-rc.0~26581 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=87446c808a24767db9905ea55db341d3914df20a;p=lhc%2Fweb%2Fwiklou.git Documentation --- diff --git a/includes/api/ApiUpload.php b/includes/api/ApiUpload.php index 17262ec4a2..18117ddd35 100644 --- a/includes/api/ApiUpload.php +++ b/includes/api/ApiUpload.php @@ -222,9 +222,10 @@ class ApiUpload extends ApiBase { $request = $this->getMain()->getRequest(); // chunk or one and only one of the following parameters is needed - if(!$this->mParams['chunk']) + if( !$this->mParams['chunk'] ) { $this->requireOnlyOneParameter( $this->mParams, - 'filekey', 'file', 'url', 'statuskey' ); + 'filekey', 'file', 'url', 'statuskey' ); + } if ( $this->mParams['statuskey'] ) { $this->checkAsyncDownloadEnabled();