mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
fix for zero size files
This commit is contained in:
parent
517105660d
commit
84c56a5d56
1 changed files with 2 additions and 2 deletions
|
|
@ -477,9 +477,9 @@ class Stream {
|
|||
|
||||
if (
|
||||
$this->meta['mode']!='r'
|
||||
and $this->meta['mode']!='rb'
|
||||
and $this->meta['mode']!='rb'
|
||||
and $this->size > 0
|
||||
) {
|
||||
|
||||
// Disable encryption proxy to prevent recursive calls
|
||||
$proxyStatus = \OC_FileProxy::$enabled;
|
||||
\OC_FileProxy::$enabled = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue