From 680dae6e785bfbc9b664196fbec373fd180a2c4e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 28 Apr 2010 16:08:51 +0000 Subject: - Patch #772836 by Jacine: recent comments block HTML clean-up. --- modules/comment/comment.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/comment/comment.module') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 4a466fa59..930af591b 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -576,7 +576,7 @@ function theme_comment_block() { $items = array(); $number = variable_get('comment_block_count', 10); foreach (comment_get_recent($number) as $comment) { - $items[] = l($comment->subject, 'comment/' . $comment->cid, array('fragment' => 'comment-' . $comment->cid)) . '
' . t('@time ago', array('@time' => format_interval(REQUEST_TIME - $comment->changed))); + $items[] = l($comment->subject, 'comment/' . $comment->cid, array('fragment' => 'comment-' . $comment->cid)) .''. t('@time ago', array('@time' => format_interval(REQUEST_TIME - $comment->changed))) .''; } if ($items) { -- cgit v1.2.3