always take root of the substorage

This commit is contained in:
Bjoern Schiessle 2014-06-24 18:53:51 +02:00
parent 3fc7357ade
commit 92a82f02b3
1 changed files with 1 additions and 1 deletions

View File

@ -884,7 +884,7 @@ class View {
if ($extOnly && $subStorage instanceof \OC\Files\Storage\Shared) { if ($extOnly && $subStorage instanceof \OC\Files\Storage\Shared) {
continue; continue;
} }
$subCache = $subStorage->getCache($internalPath); $subCache = $subStorage->getCache('');
$rootEntry = $subCache->get($internalPath); $rootEntry = $subCache->get($internalPath);
$data['size'] += isset($rootEntry['size']) ? $rootEntry['size'] : 0; $data['size'] += isset($rootEntry['size']) ? $rootEntry['size'] : 0;
} }