r82186 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r82185
|
r82186
|
r82187
>
Date:
19:52, 15 February 2011
Author:
travis
Status:
deferred
Tags:
Comment:
fix
bug 26745
, process uploads all submitted files even if there is a missing filename in between
Modified paths:
/trunk/extensions/MultiUpload/MultiUpload.body.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/MultiUpload/MultiUpload.body.php
—
—
@@ -88,7 +88,9 @@
89
89
$_FILES['wpUploadFile'] = $_FILES['wpUploadFile' . $i];
90
90
wfRestoreWarnings();
91
91
$up = UploadBase::createFromRequest( $request );
92
- $this->mUploads[$i] = $up;
92
+ if ($up) {
93
+ $this->mUploads[] = $up;
94
+ }
93
95
}
94
96
}
95
97
$this->mDesiredDestName = $this->mDesiredDestNames[0];
Status & tagging log
22:14, 15 February 2011
Reedy
(
talk
|
contribs
)
changed the
status
of r82186
[
removed:
new
added:
deferred]