aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-01 14:58:16 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-01 14:58:16 +0000
commit446fb4233aa9301e560b4d8bbcef254adf61d7a2 (patch)
treeb8f6720a6a0031627522eb92cc713bde90ac5b5f /mod
parent0f2141e90dd03bb66318ec8776fada3ef8569ef9 (diff)
downloadelgg-446fb4233aa9301e560b4d8bbcef254adf61d7a2.tar.gz
elgg-446fb4233aa9301e560b4d8bbcef254adf61d7a2.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Name tweaks git-svn-id: https://code.elgg.org/elgg/trunk@601 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/file/start.php2
-rw-r--r--mod/file/views/default/file/file.php2
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">