diff --git a/lib/private/files/stream/quota.php b/lib/private/files/stream/quota.php index 87301c2361..60e60da8e6 100644 --- a/lib/private/files/stream/quota.php +++ b/lib/private/files/stream/quota.php @@ -81,6 +81,8 @@ class Quota { } else { $this->limit -= $offset; } + // this wrapper needs to return "true" for success. + // the fseek call itself returns 0 on succeess return !fseek($this->source, $offset, $whence); }