aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/layout')
-rw-r--r--views/default/layout/elements/comments.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/views/default/layout/elements/comments.php b/views/default/layout/elements/comments.php
index ca86bed2d..2d727b8b5 100644
--- a/views/default/layout/elements/comments.php
+++ b/views/default/layout/elements/comments.php
@@ -16,7 +16,11 @@ if (isset($vars['id'])) {
echo "<div $id class=\"elgg-comments\">";
-echo list_annotations($vars['entity']->getGUID(), 'generic_comment');
+$options = array(
+ 'guid' => $vars['entity']->getGUID(),
+ 'annotation_name' => 'generic_comment'
+);
+echo elgg_list_annotations($options);
if ($show_add_form) {
$form_vars = array('name' => 'elgg_add_comment');