summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-05-02 15:11:05 +0000
committerDries Buytaert <dries@buytaert.net>2008-05-02 15:11:05 +0000
commitd1bc88924267f992b539b635a8de296e96c56ae3 (patch)
treefb74d421f9af67271938fcdcb8380e1b057f63fe /modules/node/node.module
parent4bc5d8d244bf152629e5a6738ddab2dd0d225896 (diff)
downloadbrdo-d1bc88924267f992b539b635a8de296e96c56ae3.tar.gz
brdo-d1bc88924267f992b539b635a8de296e96c56ae3.tar.bz2
- Patch #227830 by JohnAlbin: link attributes added to l() incorrectly.
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 bfa6c8cda..ed82a31f8 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -135,7 +135,7 @@ function node_title_list($result, $title = NULL) {
$items = array();
$num_rows = FALSE;
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')) : array());
+ $items[] = l($node->title, 'node/' . $node->nid, !empty($node->comment_count) ? array('attributes' => array('title' => format_plural($node->comment_count, '1 comment', '@count comments'))) : array());
$num_rows = TRUE;
}