Fix log msg param in UploadFromUrl::saveTempFileChunk
$this->nbytes does not exist and is never written to. It is probably intended that this uses the local $nbytes. Change-Id: I8e923a27625d04c81b2e272a597d40d59397851f
This commit is contained in:
parent
f708adedd0
commit
cf9f186e3f
1 changed files with 1 additions and 1 deletions
|
|
@ -225,7 +225,7 @@ class UploadFromUrl extends UploadBase {
|
|||
// Well... that's not good!
|
||||
wfDebugLog(
|
||||
'fileupload',
|
||||
'Short write ' . $this->nbytes . '/' . strlen( $buffer ) .
|
||||
'Short write ' . $nbytes . '/' . strlen( $buffer ) .
|
||||
' bytes, aborting with ' . $this->mFileSize . ' uploaded so far'
|
||||
);
|
||||
fclose( $this->mTmpHandle );
|
||||
|
|
|
|||
Loading…
Reference in a new issue