fix for zero size files

This commit is contained in:
Florin Peter 2013-05-14 21:29:24 +02:00
parent 517105660d
commit 84c56a5d56
1 changed files with 2 additions and 2 deletions

View File

@ -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;