aboutsummaryrefslogtreecommitdiff
path: root/views/default/icon/object/image.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/icon/object/image.php')
-rw-r--r--views/default/icon/object/image.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/icon/object/image.php b/views/default/icon/object/image.php
index 3dbced8ab..9087fc3d8 100644
--- a/views/default/icon/object/image.php
+++ b/views/default/icon/object/image.php
@@ -27,7 +27,7 @@ if (!isset($vars['title'])) {
$title = $vars['title'];
}
-$url = $entity->getURL();
+$url = isset($vars['href']) ? $vars['href'] : $entity->getURL();
if (isset($vars['href'])) {
$url = $vars['href'];
}