From 92a82f02b3f7e5422080fcaea33d89560ec260fb Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Tue, 24 Jun 2014 18:53:51 +0200 Subject: [PATCH] always take root of the substorage --- lib/private/files/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }