aboutsummaryrefslogtreecommitdiff
path: root/mod/file/views/default/icon
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/views/default/icon')
-rw-r--r--mod/file/views/default/icon/object/file.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/file/views/default/icon/object/file.php b/mod/file/views/default/icon/object/file.php
index 249dd9c99..6357d418f 100644
--- a/mod/file/views/default/icon/object/file.php
+++ b/mod/file/views/default/icon/object/file.php
@@ -28,6 +28,7 @@ if ($entity->thumbnail) {
}
$img_src = $entity->getIconURL($vars['size']);
+$img_src = elgg_format_url($img_src);
$img = "<img $class src=\"$img_src\" alt=\"$title\" />";
if ($url) {