diff options
author | cash <cash.costello@gmail.com> | 2011-11-19 12:11:52 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-11-28 21:44:01 -0500 |
commit | e06e4dbec826c04c938b5f7ba211929745f16620 (patch) | |
tree | a54893f322dc7621f02efc8a0bcbf968c082ddf2 /views/default/object | |
parent | 653637402f613b5d4bc9802f59ff2b13571a0388 (diff) | |
download | elgg-e06e4dbec826c04c938b5f7ba211929745f16620.tar.gz elgg-e06e4dbec826c04c938b5f7ba211929745f16620.tar.bz2 |
don't display <h3> if no title
Diffstat (limited to 'views/default/object')
-rw-r--r-- | views/default/object/elements/summary.php | 4 |
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; |