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:
addshore 2017-03-22 10:39:46 +00:00
parent f708adedd0
commit cf9f186e3f

View file

@ -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 );