summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-06-25 13:00:11 +0200
committerRobin Appelman <icewind@owncloud.com>2014-06-25 13:00:11 +0200
commit113749bd96811312ef390d0e760e6206bba90e46 (patch)
tree15bb34a776e3d815d59639f45813983dfc786c46 /lib
parent92a82f02b3f7e5422080fcaea33d89560ec260fb (diff)
downloadnextcloud-server-113749bd96811312ef390d0e760e6206bba90e46.tar.gz
nextcloud-server-113749bd96811312ef390d0e760e6206bba90e46.zip
really always take root of the substorage
Diffstat (limited to 'lib')
-rw-r--r--lib/private/files/view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/view.php b/lib/private/files/view.php
index 51eefb9dac7..ff3cb9ee68b 100644
--- a/lib/private/files/view.php
+++ b/lib/private/files/view.php
@@ -885,7 +885,7 @@ class View {
continue;
}
$subCache = $subStorage->getCache('');
- $rootEntry = $subCache->get($internalPath);
+ $rootEntry = $subCache->get('');
$data['size'] += isset($rootEntry['size']) ? $rootEntry['size'] : 0;
}
}