From 84d36df70b7bfb5e7cf79c7a089675d79943084d Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Tue, 24 Jun 2014 13:39:37 +0200 Subject: make sure that we always return the correct permissions --- lib/private/files/view.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/private/files/view.php b/lib/private/files/view.php index 91d7ea260d3..48e7cb85bef 100644 --- a/lib/private/files/view.php +++ b/lib/private/files/view.php @@ -884,8 +884,8 @@ class View { if ($extOnly && $subStorage instanceof \OC\Files\Storage\Shared) { continue; } - $subCache = $subStorage->getCache(''); - $rootEntry = $subCache->get(''); + $subCache = $subStorage->getCache($internalPath); + $rootEntry = $subCache->get($internalPath); $data['size'] += isset($rootEntry['size']) ? $rootEntry['size'] : 0; } } -- cgit v1.2.3