diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-24 13:39:37 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-24 13:39:37 +0200 |
commit | 84d36df70b7bfb5e7cf79c7a089675d79943084d (patch) | |
tree | 23a6a6c7a88a3d0402ff2d533ac051001c269b6d /lib | |
parent | 6a4a474aa94202c0d675b86fab384f509b9522f6 (diff) | |
download | nextcloud-server-84d36df70b7bfb5e7cf79c7a089675d79943084d.tar.gz nextcloud-server-84d36df70b7bfb5e7cf79c7a089675d79943084d.zip |
make sure that we always return the correct permissions
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/files/view.php | 4 |
1 files changed, 2 insertions, 2 deletions
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; } } |