aboutsummaryrefslogtreecommitdiff
path: root/mod/file/views/default/file/specialcontent/image/default.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/views/default/file/specialcontent/image/default.php')
-rw-r--r--mod/file/views/default/file/specialcontent/image/default.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/file/views/default/file/specialcontent/image/default.php b/mod/file/views/default/file/specialcontent/image/default.php
index 8ae251cfc..fbd994a0b 100644
--- a/mod/file/views/default/file/specialcontent/image/default.php
+++ b/mod/file/views/default/file/specialcontent/image/default.php
@@ -7,7 +7,7 @@ $image_url = elgg_get_site_url() . "mod/file/thumbnail.php?file_guid={$vars['ent
$image_url = elgg_format_url($image_url);
$download_url = elgg_get_site_url() . "mod/file/download.php?file_guid={$vars['entity']->getGUID()}";
-if ($vars['full'] && $smallthumb = $vars['entity']->smallthumb) {
+if ($vars['full_view'] && $smallthumb = $vars['entity']->smallthumb) {
echo <<<HTML
<div class="file-photo">
<a href="$download_url"><img class="elgg-photo" src="$image_url" /></a>