diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-05-10 19:57:13 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-05-10 19:57:13 +0000 |
commit | 21fe511dfa6727f0a0ef43865f953fac78e32c30 (patch) | |
tree | 2af44f5cbf1add0cb704fd830eb9ec185a315239 | |
parent | 258c653f56ce7dd7dddcbe7c3a46c678dcb79b36 (diff) | |
download | brdo-21fe511dfa6727f0a0ef43865f953fac78e32c30.tar.gz brdo-21fe511dfa6727f0a0ef43865f953fac78e32c30.tar.bz2 |
- Patch #142897 by erdemkose: corrected the argument: should be empty array instead of empty string.
-rw-r--r-- | modules/node/node.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index c96606a94..d0ad4ea10 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -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); |