aboutsummaryrefslogtreecommitdiff
path: root/views/default/annotation/generic_comment.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/annotation/generic_comment.php')
-rw-r--r--views/default/annotation/generic_comment.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/views/default/annotation/generic_comment.php b/views/default/annotation/generic_comment.php
index 3fc55e84a..bb0127bfe 100644
--- a/views/default/annotation/generic_comment.php
+++ b/views/default/annotation/generic_comment.php
@@ -42,11 +42,7 @@ if ($full_view) {
<span class="entity-subtext">$commenter_link $on <span class='entity-title'>$entity_link</span> ($friendlytime)</span>
HTML;
- $params = array(
- 'icon' => $commenter_icon,
- 'body' => $body,
- );
- echo elgg_view('layout_elements/media', $params);
+ echo elgg_view_media($commenter_icon, $body);
// @todo remove this once the full view has been rewritten
return true;