aboutsummaryrefslogtreecommitdiff
path: root/mod/file/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/start.php')
-rw-r--r--mod/file/start.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/file/start.php b/mod/file/start.php
index 98ee4ff46..3c5fbb80d 100644
--- a/mod/file/start.php
+++ b/mod/file/start.php
@@ -87,12 +87,13 @@
$tags = $file->getMetaData("tag");
if (!is_array($tags))
$tags = array($tags);
-
+
// Draw file
return elgg_view("file/file", array(
"tags" => $tags,
"title" => $file->title,
- "description" => $file->description
+ "description" => $file->description,
+ "mime" => $file->getMimeType()
));
}