aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 23:20:41 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 23:20:41 +0000
commite1f6f69e639881496a10a1888b66976c1f581e98 (patch)
treeaa13521bd55694cf84405876e565096e841903ee /views/default/layout
parent4dd7d2be5352ac20d3eb2693d78954718c704cbc (diff)
downloadelgg-e1f6f69e639881496a10a1888b66976c1f581e98.tar.gz
elgg-e1f6f69e639881496a10a1888b66976c1f581e98.tar.bz2
Refs #650. Replaced list_annotations() by elgg_list_annotations().
git-svn-id: http://code.elgg.org/elgg/trunk@8187 36083f99-b078-4883-b0ff-0f9b5a30f544
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');