summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index e4773d569..4437c00c7 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -85,7 +85,7 @@ function node_help_page() {
function node_title_list($result, $title = NULL) {
while ($node = db_fetch_object($result)) {
$number = module_invoke('comment', 'num_all', $node->nid);
- $items[] = l($node->title, "node/$node->nid", array('title' => format_plural($number, '1 comment', '%count comments')));
+ $items[] = l($node->title, 'node/'. $node->nid, array('title' => $number ? format_plural($number, '1 comment', '%count comments') : t('read more')));
}
return theme('node_list', $items, $title);