summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/theme.inc4
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);