diff options
Diffstat (limited to 'lib/private/files/cache/homecache.php')
-rw-r--r-- | lib/private/files/cache/homecache.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/files/cache/homecache.php b/lib/private/files/cache/homecache.php index 06ae62015a5..2b3967c8807 100644 --- a/lib/private/files/cache/homecache.php +++ b/lib/private/files/cache/homecache.php @@ -39,6 +39,9 @@ class HomeCache extends Cache { $totalSize = 0 + $sum; $unencryptedSize = 0 + $unencryptedSum; $entry['size'] += 0; + if (!isset($entry['unencrypted_size'])) { + $entry['unencrypted_size'] = 0; + } $entry['unencrypted_size'] += 0; if ($entry['size'] !== $totalSize) { $this->update($id, array('size' => $totalSize)); |