fix problem with encryption flag not being saved correctly in the filecache

remotes/origin/stable45
Robin Appelman 14 years ago
parent e6384251eb
commit debd9c8dfb
  1. 2
      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);
}

Loading…
Cancel
Save