From: Robin Appelman Date: Mon, 18 Jun 2012 16:17:49 +0000 (+0200) Subject: fix problem with encryption flag not being saved correctly in the filecache X-Git-Tag: v4.5.0beta1~74^2~410^2~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=debd9c8dfb900658d6698738d47e7e88ec862dfa;p=nextcloud-server.git fix problem with encryption flag not being saved correctly in the filecache --- 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); }