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. --- includes/theme.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes') diff --git a/includes/theme.inc b/includes/theme.inc index 8f389a0cc..d675e1564 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1552,7 +1552,7 @@ function theme_username($object) { } if (user_access('access user profiles')) { - $output = l($name, 'user/' . $object->uid, array('title' => t('View user profile.'))); + $output = l($name, 'user/' . $object->uid, array('attributes' => array('title' => t('View user profile.')))); } else { $output = check_plain($name); @@ -1564,7 +1564,7 @@ function theme_username($object) { // aggregator modules). This clause enables modules to display // the true author of the content. if (!empty($object->homepage)) { - $output = l($object->name, $object->homepage, array('rel' => 'nofollow')); + $output = l($object->name, $object->homepage, array('attributes' => array('rel' => 'nofollow'))); } else { $output = check_plain($object->name); -- cgit v1.2.3