fix for zero size files
This commit is contained in:
parent
517105660d
commit
84c56a5d56
|
@ -478,8 +478,8 @@ class Stream {
|
||||||
if (
|
if (
|
||||||
$this->meta['mode']!='r'
|
$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
|
// Disable encryption proxy to prevent recursive calls
|
||||||
$proxyStatus = \OC_FileProxy::$enabled;
|
$proxyStatus = \OC_FileProxy::$enabled;
|
||||||
\OC_FileProxy::$enabled = false;
|
\OC_FileProxy::$enabled = false;
|
||||||
|
|
Loading…
Reference in New Issue