diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-09-19 19:13:35 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-09-19 19:13:35 +0000 |
commit | 2b3126b2ccfc51c44ede6f0675626d83527c1778 (patch) | |
tree | ef83f389c8c8160601872fe76116b0905fe6aa8b /modules/comment/comment.module | |
parent | 804054f3b6e7be51cef4d511768e67856e405407 (diff) | |
download | brdo-2b3126b2ccfc51c44ede6f0675626d83527c1778.tar.gz brdo-2b3126b2ccfc51c44ede6f0675626d83527c1778.tar.bz2 |
Patch #19934 by Morbus, chx: conf_init() should strip out port numbers in bootstrap.inc.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r-- | modules/comment/comment.module | 1 |
1 files changed, 1 insertions, 0 deletions
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))); } |