Skip to content
Snippets Groups Projects
Commit 9d8c0785 authored by Thomas Müller's avatar Thomas Müller
Browse files

fixing unencrypted file size

parent a74ee674
Branches
No related tags found
No related merge requests found
......@@ -88,8 +88,11 @@ class Encryption extends Wrapper {
$info = $this->getCache()->get($path);
if (isset($this->unencryptedSize[$fullPath]) && isset($info['fileid'])) {
if (isset($this->unencryptedSize[$fullPath])) {
$size = $this->unencryptedSize[$fullPath];
}
if (isset($info['fileid'])) {
$info['encrypted'] = true;
$info['size'] = $size;
$this->getCache()->put($path, $info);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment