fix for zero size files
This commit is contained in:
parent
517105660d
commit
84c56a5d56
|
@ -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 New Issue