diff options
author | Sem <sembrestels@riseup.net> | 2012-07-29 01:55:43 +0200 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2012-07-29 01:55:43 +0200 |
commit | 504e3a0b8588516b75c2baf3af5f600d0827c135 (patch) | |
tree | bb4d885f8a8ea7e210f4c98f9477f8e32e76524d /views/default/icon/object/image.php | |
parent | d85f7798d5f69187de2a3159360ce29d38ead6a9 (diff) | |
download | elgg-504e3a0b8588516b75c2baf3af5f600d0827c135.tar.gz elgg-504e3a0b8588516b75c2baf3af5f600d0827c135.tar.bz2 |
Album gallery thumbnails have links to albums instead to photos.
Diffstat (limited to 'views/default/icon/object/image.php')
-rw-r--r-- | views/default/icon/object/image.php | 2 |
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']; } |