diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-06-18 18:17:49 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-06-18 18:18:10 +0200 |
commit | debd9c8dfb900658d6698738d47e7e88ec862dfa (patch) | |
tree | cc0f3043e18313a362536f0102d79606729dde04 /apps/files_encryption | |
parent | e6384251ebf4527b0516029c225a8891fced74cc (diff) | |
download | nextcloud-server-debd9c8dfb900658d6698738d47e7e88ec862dfa.tar.gz nextcloud-server-debd9c8dfb900658d6698738d47e7e88ec862dfa.zip |
fix problem with encryption flag not being saved correctly in the filecache
Diffstat (limited to 'apps/files_encryption')
-rw-r--r-- | apps/files_encryption/lib/cryptstream.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/lib/cryptstream.php b/apps/files_encryption/lib/cryptstream.php index 56331cbf601..64fec381ded 100644 --- a/apps/files_encryption/lib/cryptstream.php +++ b/apps/files_encryption/lib/cryptstream.php @@ -159,7 +159,7 @@ class OC_CryptStream{ public function stream_close(){ $this->flush(); if($this->meta['mode']!='r' and $this->meta['mode']!='rb'){ - OC_FileCache::put($this->path,array('encrypted'=>true)); + OC_FileCache::put($this->path,array('encrypted'=>true),''); } return fclose($this->source); } |