diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-01-07 01:40:09 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-01-07 02:09:21 +0100 |
commit | d0377b1951a156e218ca0200340e2bcfb51ac0c8 (patch) | |
tree | 5e3c83bc72cf8a9df7edf00dfaf7e8de868b75f4 /lib/files/view.php | |
parent | ad3badeabff9dde839827558c281a691c611cf87 (diff) | |
download | nextcloud-server-d0377b1951a156e218ca0200340e2bcfb51ac0c8.tar.gz nextcloud-server-d0377b1951a156e218ca0200340e2bcfb51ac0c8.zip |
Cache: normalize mimetypes
Diffstat (limited to 'lib/files/view.php')
-rw-r--r-- | lib/files/view.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files/view.php b/lib/files/view.php index 124345f3c6f..8303a080bd8 100644 --- a/lib/files/view.php +++ b/lib/files/view.php @@ -693,7 +693,7 @@ class View { $data = $cache->get($internalPath); - if ($data) { + if ($data and $data['fileid']) { if ($data['mimetype'] === 'httpd/unix-directory') { //add the sizes of other mountpoints to the folder $mountPoints = Filesystem::getMountPoints($path); |