From c88d043b487a1b26a0a09bc420d20bd109e2bd3a Mon Sep 17 00:00:00 2001 From: cash Date: Fri, 20 May 2011 02:16:09 +0000 Subject: Fixes #3457 showing a snippet of a comment in sidebar instead of entire comment git-svn-id: http://code.elgg.org/elgg/trunk@9107 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/annotation/generic_comment.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'views/default/annotation') diff --git a/views/default/annotation/generic_comment.php b/views/default/annotation/generic_comment.php index 4a3407e1a..69520d102 100644 --- a/views/default/annotation/generic_comment.php +++ b/views/default/annotation/generic_comment.php @@ -63,9 +63,11 @@ HTML; $on = elgg_echo('on'); + $excerpt = elgg_get_excerpt($comment->value, 80); + $body = << - $commenter_link $on $entity_link ($friendlytime) + $commenter_link $on $entity_link ($friendlytime): $excerpt HTML; -- cgit v1.2.3