Commit 21fe511d authored by Dries's avatar Dries

- Patch #142897 by erdemkose: corrected the argument: should be empty array...

- Patch #142897 by erdemkose: corrected the argument: should be empty array instead of empty string.
parent 258c653f
......@@ -97,7 +97,7 @@ function node_cron() {
*/
function node_title_list($result, $title = NULL) {
while ($node = db_fetch_object($result)) {
$items[] = l($node->title, 'node/'. $node->nid, !empty($node->comment_count) ? array('title' => format_plural($node->comment_count, '1 comment', '@count comments')) : '');
$items[] = l($node->title, 'node/'. $node->nid, !empty($node->comment_count) ? array('title' => format_plural($node->comment_count, '1 comment', '@count comments')) : array());
}
return theme('node_list', $items, $title);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment