aboutsummaryrefslogtreecommitdiff
path: root/mod/file/start.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-01-08 15:23:36 -0500
committerCash Costello <cash.costello@gmail.com>2012-01-08 15:23:36 -0500
commit3cba074d0597d36627500607ca4a0d7cd6a79b6e (patch)
treee48344ff223a13fec9bb4d9a24ca741078bebbc6 /mod/file/start.php
parent62b03cd61f5b3c837a97e71260790c15be7e4ea2 (diff)
downloadelgg-3cba074d0597d36627500607ca4a0d7cd6a79b6e.tar.gz
elgg-3cba074d0597d36627500607ca4a0d7cd6a79b6e.tar.bz2
Fixes #2421 added icontime to files with thumbnails
Diffstat (limited to 'mod/file/start.php')
-rw-r--r--mod/file/start.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/file/start.php b/mod/file/start.php
index e15a9ad61..36142533f 100644
--- a/mod/file/start.php
+++ b/mod/file/start.php
@@ -345,7 +345,8 @@ function file_icon_url_override($hook, $type, $returnvalue, $params) {
// thumbnails get first priority
if ($file->thumbnail) {
- return "mod/file/thumbnail.php?file_guid=$file->guid&size=$size";
+ $ts = (int)$file->icontime;
+ return "mod/file/thumbnail.php?file_guid=$file->guid&size=$size&icontime=$ts";
}
$mapping = array(