aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/elements
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/page/elements')
-rw-r--r--views/default/page/elements/comments.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/views/default/page/elements/comments.php b/views/default/page/elements/comments.php
index 6a7e74b2a..3d44f5785 100644
--- a/views/default/page/elements/comments.php
+++ b/views/default/page/elements/comments.php
@@ -23,7 +23,12 @@ $options = array(
'guid' => $vars['entity']->getGUID(),
'annotation_name' => 'generic_comment'
);
-echo elgg_list_annotations($options);
+$html = elgg_list_annotations($options);
+if ($html) {
+ echo '<h3>Comments</h3>';
+ echo $html;
+}
+//echo strlen($html);
if ($show_add_form) {
$form_vars = array('name' => 'elgg_add_comment');