From d1bc88924267f992b539b635a8de296e96c56ae3 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 2 May 2008 15:11:05 +0000 Subject: - Patch #227830 by JohnAlbin: link attributes added to l() incorrectly. --- modules/node/node.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/node/node.module') 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; } -- cgit v1.2.3