diff options
author | jknockaert <jasper@knockaert.nl> | 2015-04-22 12:28:07 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2015-04-24 16:44:00 +0200 |
commit | 49df8ef525c11e6468a65fd705fef9e0e3a71374 (patch) | |
tree | 9693542d95f09009fb684d25b07e913aa0fc263b /lib/private/files/stream | |
parent | 27ea23ea6b88ee73ec2826212336d20e9c209029 (diff) | |
download | nextcloud-server-49df8ef525c11e6468a65fd705fef9e0e3a71374.tar.gz nextcloud-server-49df8ef525c11e6468a65fd705fef9e0e3a71374.zip |
Update encryption.php
Diffstat (limited to 'lib/private/files/stream')
-rw-r--r-- | lib/private/files/stream/encryption.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/files/stream/encryption.php b/lib/private/files/stream/encryption.php index 6fe205d352c..52660270763 100644 --- a/lib/private/files/stream/encryption.php +++ b/lib/private/files/stream/encryption.php @@ -237,6 +237,7 @@ class Encryption extends Wrapper { $accessList = $this->file->getAccessList($sharePath); $this->newHeader = $this->encryptionModule->begin($this->fullPath, $this->uid, $this->header, $accessList); + if (!($path==='')){ if ( $mode === 'w' || $mode === 'w+' @@ -250,7 +251,7 @@ class Encryption extends Wrapper { } else { parent::stream_read($this->util->getHeaderSize()); } - + } return true; } |