diff options
Diffstat (limited to 'mod/file')
-rw-r--r-- | mod/file/start.php | 2 | ||||
-rw-r--r-- | mod/file/views/default/file/file.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/file/start.php b/mod/file/start.php index 3c5fbb80d..adf446cb5 100644 --- a/mod/file/start.php +++ b/mod/file/start.php @@ -93,7 +93,7 @@ "tags" => $tags, "title" => $file->title, "description" => $file->description, - "mime" => $file->getMimeType() + "mimetype" => $file->getMimeType() )); } diff --git a/mod/file/views/default/file/file.php b/mod/file/views/default/file/file.php index cbb3034b6..7b6213684 100644 --- a/mod/file/views/default/file/file.php +++ b/mod/file/views/default/file/file.php @@ -23,7 +23,7 @@ <tr> <td valign="top"> <div class="file_icon"> - <?php echo elgg_view("file/icon", array("mime" => $mime)); ?> + <?php echo elgg_view("file/icon", array("mimetype" => $mime)); ?> </div> </td> <td valign="top"> |