Index: modules/comment/comment.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/comment/comment.module,v
retrieving revision 1.537
diff -u -r1.537 comment.module
--- modules/comment/comment.module 9 Apr 2007 13:41:10 -0000 1.537
+++ modules/comment/comment.module 11 Apr 2007 10:12:18 -0000
@@ -332,7 +332,7 @@
function theme_comment_block() {
$items = array();
foreach (comment_get_recent() as $comment) {
- $items[] = l($comment->subject, 'node/'. $comment->nid, array('fragment' => 'comment-'. $comment->cid)) .'
'. t('@time ago', array('@time' => format_interval(time() - $comment->timestamp)));
+ $items[] = l($comment->subject, "node/$comment->nid/$comment->cid") .'
'. t('@time ago', array('@time' => format_interval(time() - $comment->timestamp)));
}
if ($items) {
return theme('item_list', $items);