From 2b3126b2ccfc51c44ede6f0675626d83527c1778 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 19 Sep 2005 19:13:35 +0000 Subject: Patch #19934 by Morbus, chx: conf_init() should strip out port numbers in bootstrap.inc. --- modules/comment/comment.module | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/comment/comment.module') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 061bbae55..8ee6594b6 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -284,6 +284,7 @@ function comment_nodeapi(&$node, $op, $arg = 0) { case 'search result': $comments = db_result(db_query('SELECT comment_count FROM {node_comment_statistics} WHERE nid = %d', $node->nid)); return format_plural($comments, '1 comment', '%count comments'); + case 'rss item': return array(array('key' => 'comments', 'value' => url('node/'.$node->nid, NULL, 'comment', TRUE))); } -- cgit v1.2.3