diff --git a/lib/private/files/view.php b/lib/private/files/view.php index 51eefb9dac7..ff3cb9ee68b 100644 --- a/lib/private/files/view.php +++ b/lib/private/files/view.php @@ -885,7 +885,7 @@ class View { continue; } $subCache = $subStorage->getCache(''); - $rootEntry = $subCache->get($internalPath); + $rootEntry = $subCache->get(''); $data['size'] += isset($rootEntry['size']) ? $rootEntry['size'] : 0; } }