aboutsummaryrefslogtreecommitdiff
path: root/views/default/icon/object/album.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/icon/object/album.php')
-rw-r--r--views/default/icon/object/album.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/views/default/icon/object/album.php b/views/default/icon/object/album.php
index 656b2e0df..55bb7451b 100644
--- a/views/default/icon/object/album.php
+++ b/views/default/icon/object/album.php
@@ -17,6 +17,7 @@ $album = $vars['entity'];
$cover_guid = $album->getCoverImageGuid();
if ($cover_guid) {
$vars['title'] = $album->getTitle();
+ $vars['href'] = $album->getURL();
echo elgg_view_entity_icon(get_entity($cover_guid), $vars['size'], $vars);
} else {
$url = "mod/tidypics/graphics/empty_album.png";