mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 19:20:35 -04:00
AssemblyStream is also eof if we have no more source stream
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
3894e59e9c
commit
e3dab24a2a
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue