summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2013-06-28 07:30:41 -0700
committerJörn Friedrich Dreyer <jfd@butonic.de>2013-06-28 07:30:41 -0700
commit7d3490036c40a0529d4d58561c15f0c59fbf9686 (patch)
tree7c6c28706dd853678a029538074d99b9df96af95 /lib
parentb1a2ddd1498f97129f5f425a77cc88879205357d (diff)
parentda0caadf4ecbf101bf8ea40007357baf98c8437b (diff)
downloadnextcloud-server-7d3490036c40a0529d4d58561c15f0c59fbf9686.tar.gz
nextcloud-server-7d3490036c40a0529d4d58561c15f0c59fbf9686.zip
Merge pull request #3838 from rgeber/master
Public Upload Feature
Diffstat (limited to 'lib')
-rw-r--r--lib/files/view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files/view.php b/lib/files/view.php
index 25071709fbe..d8d99698023 100644
--- a/lib/files/view.php
+++ b/lib/files/view.php
@@ -754,7 +754,7 @@ class View {
if ($subStorage) {
$subCache = $subStorage->getCache('');
$rootEntry = $subCache->get('');
- $data['size'] += $rootEntry['size'];
+ $data['size'] += isset($rootEntry['size']) ? $rootEntry['size'] : 0;
}
}
}