diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-03-06 14:23:27 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-03-06 14:23:27 +0100 |
commit | 895fc0fa26ee5a1e9dbadb09736dbb56cad0c6e8 (patch) | |
tree | f7ee7ae02bbf198f5881217b950c33732637bbcd /lib | |
parent | c87658fedab5073642848b2db0e8707dc2b5cff4 (diff) | |
download | nextcloud-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.php | 2 |
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); |