4.7.x
Steven Wittens 2005-10-20 08:56:34 +00:00
parent 8164ec2f49
commit e83b00d526
2 changed files with 2 additions and 2 deletions

View File

@ -248,7 +248,7 @@ function comment_nodeapi(&$node, $op, $arg = 0) {
$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 'rsss item':
case 'rss item':
return array(array('key' => 'comments', 'value' => url('node/'. $node->nid, NULL, 'comment', TRUE)));
}
}

View File

@ -248,7 +248,7 @@ function comment_nodeapi(&$node, $op, $arg = 0) {
$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 'rsss item':
case 'rss item':
return array(array('key' => 'comments', 'value' => url('node/'. $node->nid, NULL, 'comment', TRUE)));
}
}