Skip to content
Snippets Groups Projects
Commit 895fc0fa authored by Robin Appelman's avatar Robin Appelman
Browse files

Fix check if fileinfo is valid

parent c87658fe
Branches
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment