- Typo
parent
8164ec2f49
commit
e83b00d526
|
@ -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));
|
$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');
|
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)));
|
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));
|
$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');
|
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)));
|
return array(array('key' => 'comments', 'value' => url('node/'. $node->nid, NULL, 'comment', TRUE)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue