aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/elements
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/object/elements')
-rw-r--r--views/default/object/elements/summary.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/views/default/object/elements/summary.php b/views/default/object/elements/summary.php
index 8d82bc52a..22db03f51 100644
--- a/views/default/object/elements/summary.php
+++ b/views/default/object/elements/summary.php
@@ -46,7 +46,9 @@ if ($tags !== false) {
if ($metadata) {
echo $metadata;
}
-echo "<h3>$title_link</h3>";
+if ($title_link) {
+ echo "<h3>$title_link</h3>";
+}
echo "<div class=\"elgg-subtext\">$subtitle</div>";
echo $tags;