summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-03-06 14:23:27 +0100
committerRobin Appelman <icewind@owncloud.com>2014-03-06 14:23:27 +0100
commit895fc0fa26ee5a1e9dbadb09736dbb56cad0c6e8 (patch)
treef7ee7ae02bbf198f5881217b950c33732637bbcd /lib
parentc87658fedab5073642848b2db0e8707dc2b5cff4 (diff)
downloadnextcloud-server-895fc0fa26ee5a1e9dbadb09736dbb56cad0c6e8.tar.gz
nextcloud-server-895fc0fa26ee5a1e9dbadb09736dbb56cad0c6e8.zip
Fix check if fileinfo is valid
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 975b5d00099..f06c2fcd66c 100644
--- a/lib/private/files/view.php
+++ b/lib/private/files/view.php
@@ -843,7 +843,7 @@ class View {
$data = $cache->get($internalPath);
}
- if ($data and $data['fileid']) {
+ if ($data and isset($data['fileid'])) {
if ($includeMountPoints and $data['mimetype'] === 'httpd/unix-directory') {
//add the sizes of other mountpoints to the folder
$mountPoints = Filesystem::getMountPoints($path);