Fix check if fileinfo is valid

This commit is contained in:
Robin Appelman 2014-03-06 14:23:27 +01:00
parent c87658feda
commit 895fc0fa26
1 changed files with 1 additions and 1 deletions

View File

@ -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);