diff --git a/lib/private/files/view.php b/lib/private/files/view.php index c9c1fc3c1b..51eefb9dac 100644 --- a/lib/private/files/view.php +++ b/lib/private/files/view.php @@ -884,7 +884,7 @@ class View { if ($extOnly && $subStorage instanceof \OC\Files\Storage\Shared) { continue; } - $subCache = $subStorage->getCache($internalPath); + $subCache = $subStorage->getCache(''); $rootEntry = $subCache->get($internalPath); $data['size'] += isset($rootEntry['size']) ? $rootEntry['size'] : 0; }