diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-05-02 15:11:05 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-05-02 15:11:05 +0000 |
commit | d1bc88924267f992b539b635a8de296e96c56ae3 (patch) | |
tree | fb74d421f9af67271938fcdcb8380e1b057f63fe /includes | |
parent | 4bc5d8d244bf152629e5a6738ddab2dd0d225896 (diff) | |
download | brdo-d1bc88924267f992b539b635a8de296e96c56ae3.tar.gz brdo-d1bc88924267f992b539b635a8de296e96c56ae3.tar.bz2 |
- Patch #227830 by JohnAlbin: link attributes added to l() incorrectly.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/theme.inc | 4 |
1 files changed, 2 insertions, 2 deletions
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); |