AssemblyStream is also eof if we have no more source stream

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/11432/head
Robin Appelman 7 years ago
parent 02de67773c
commit 6b7a69752c
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
  1. 2
      apps/dav/lib/Upload/AssemblyStream.php

@ -182,7 +182,7 @@ class AssemblyStream implements \Icewind\Streams\File {
* @return bool
*/
public function stream_eof() {
return $this->pos >= $this->size;
return $this->pos >= $this->size || $this->currentStream === null;
}
/**

Loading…
Cancel
Save