aboutsummaryrefslogtreecommitdiffstats
path: root/lib/files/view.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-01-07 01:40:09 +0100
committerRobin Appelman <icewind@owncloud.com>2013-01-07 02:09:21 +0100
commitd0377b1951a156e218ca0200340e2bcfb51ac0c8 (patch)
tree5e3c83bc72cf8a9df7edf00dfaf7e8de868b75f4 /lib/files/view.php
parentad3badeabff9dde839827558c281a691c611cf87 (diff)
downloadnextcloud-server-d0377b1951a156e218ca0200340e2bcfb51ac0c8.tar.gz
nextcloud-server-d0377b1951a156e218ca0200340e2bcfb51ac0c8.zip
Cache: normalize mimetypes
Diffstat (limited to 'lib/files/view.php')
-rw-r--r--lib/files/view.php2
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);