From 504e3a0b8588516b75c2baf3af5f600d0827c135 Mon Sep 17 00:00:00 2001 From: Sem Date: Sun, 29 Jul 2012 01:55:43 +0200 Subject: Album gallery thumbnails have links to albums instead to photos. --- views/default/icon/object/image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/default/icon/object/image.php') 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']; } -- cgit v1.2.3