Skip to content
Snippets Groups Projects
Commit e83b00d5 authored by Steven Wittens's avatar Steven Wittens
Browse files

- Typo

parent 8164ec2f
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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)));
}
}
......
......@@ -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)));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment