diff options
author | Robin Appelman <robin@icewind.nl> | 2018-09-28 14:39:23 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2018-09-28 15:41:53 +0200 |
commit | eae523eb56e5a74b7143c598839e3944a410742f (patch) | |
tree | 88e0a1c14dcd58d92eb5d1e6a6ffbc43ba446e80 /apps/dav | |
parent | 294baf8e5d847ff85e2cf158c13dc02cc3c546ea (diff) | |
download | nextcloud-server-eae523eb56e5a74b7143c598839e3944a410742f.tar.gz nextcloud-server-eae523eb56e5a74b7143c598839e3944a410742f.zip |
AssemblyStream is also eof if we have no more source stream
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/lib/Upload/AssemblyStream.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Upload/AssemblyStream.php b/apps/dav/lib/Upload/AssemblyStream.php index e20d8f9adba..3ba24bf60fd 100644 --- a/apps/dav/lib/Upload/AssemblyStream.php +++ b/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; } /** |