diff options
author | cash <cash.costello@gmail.com> | 2011-11-19 12:11:52 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-11-19 12:11:52 -0500 |
commit | ed13a36bfd53a3a0a66a4d52849e096ccb4ae5b5 (patch) | |
tree | e61f54ab244d594826ea70669659e78fec5a3889 /views/default/object/elements/summary.php | |
parent | 5f3935de2012b2bd88c0d6ba227570b54ce10bc6 (diff) | |
download | elgg-ed13a36bfd53a3a0a66a4d52849e096ccb4ae5b5.tar.gz elgg-ed13a36bfd53a3a0a66a4d52849e096ccb4ae5b5.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.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; |