]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
don't display <h3> if no title
authorcash <cash.costello@gmail.com>
Sat, 19 Nov 2011 17:11:52 +0000 (12:11 -0500)
committercash <cash.costello@gmail.com>
Sat, 19 Nov 2011 17:11:52 +0000 (12:11 -0500)
views/default/object/elements/summary.php

index 8d82bc52a244067e4e16202cabf2d96ffb33e4df..22db03f51bdb4488af5fd99bb139c3461b89c37a 100644 (file)
@@ -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;