aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/elements/summary.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-11-19 12:11:52 -0500
committercash <cash.costello@gmail.com>2011-11-28 21:44:01 -0500
commite06e4dbec826c04c938b5f7ba211929745f16620 (patch)
treea54893f322dc7621f02efc8a0bcbf968c082ddf2 /views/default/object/elements/summary.php
parent653637402f613b5d4bc9802f59ff2b13571a0388 (diff)
downloadelgg-e06e4dbec826c04c938b5f7ba211929745f16620.tar.gz
elgg-e06e4dbec826c04c938b5f7ba211929745f16620.tar.bz2
don't display <h3> if no title
Diffstat (limited to 'views/default/object/elements/summary.php')
-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;