summaryrefslogtreecommitdiff
path: root/modules/comment/comment.admin.inc
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/comment/comment.admin.inc
parent4bc5d8d244bf152629e5a6738ddab2dd0d225896 (diff)
downloadbrdo-d1bc88924267f992b539b635a8de296e96c56ae3.tar.gz
brdo-d1bc88924267f992b539b635a8de296e96c56ae3.tar.bz2
- Patch #227830 by JohnAlbin: link attributes added to l() incorrectly.
Diffstat (limited to 'modules/comment/comment.admin.inc')
-rw-r--r--modules/comment/comment.admin.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.admin.inc b/modules/comment/comment.admin.inc
index 5708bafb1..a52a4b642 100644
--- a/modules/comment/comment.admin.inc
+++ b/modules/comment/comment.admin.inc
@@ -64,7 +64,7 @@ function comment_admin_overview($type = 'new', $arg) {
while ($comment = db_fetch_object($result)) {
$comments[$comment->cid] = '';
$comment->name = $comment->uid ? $comment->registered_name : $comment->name;
- $form['subject'][$comment->cid] = array('#value' => l($comment->subject, 'node/' . $comment->nid, array('title' => truncate_utf8($comment->comment, 128), 'fragment' => 'comment-' . $comment->cid)));
+ $form['subject'][$comment->cid] = array('#value' => l($comment->subject, 'node/' . $comment->nid, array('attributes' => array('title' => truncate_utf8($comment->comment, 128)), 'fragment' => 'comment-' . $comment->cid)));
$form['username'][$comment->cid] = array('#value' => theme('username', $comment));
$form['node_title'][$comment->cid] = array('#value' => l($comment->node_title, 'node/' . $comment->nid));
$form['timestamp'][$comment->cid] = array('#value' => format_date($comment->timestamp, 'small'));