dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d12e05c
)
Documentation
author
Sam Reed
<reedy@users.mediawiki.org>
Thu, 10 Nov 2011 20:50:21 +0000
(20:50 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Thu, 10 Nov 2011 20:50:21 +0000
(20:50 +0000)
includes/api/ApiUpload.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiUpload.php
b/includes/api/ApiUpload.php
index
17262ec
..
18117dd
100644
(file)
--- 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();