fix encryption proxy for updated filecache

This commit is contained in:
Robin Appelman 2012-06-15 23:11:55 +02:00
parent 19bfe21401
commit 03951ccc6b
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class OC_FileProxy_Encryption extends OC_FileProxy{
if(self::shouldEncrypt($path)){
if (!is_resource($data)) {//stream put contents should have been converter to fopen
$data=OC_Crypt::blockEncrypt($data);
OC_FileCache::put($path,array('encrypted'=>true));
OC_FileCache::put($path,array('encrypted'=>true),'');
}
}
}