summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-03-06 16:17:55 +0000
committerDries Buytaert <dries@buytaert.net>2007-03-06 16:17:55 +0000
commitafb4242ad1d9328de51a2ff1579b7d62a9aeb747 (patch)
tree7480548a3507ebc51e1193964238a3042b78a22e
parent273a653f561bf96ce0ee4c88b7f59f5ce0d26f61 (diff)
downloadbrdo-afb4242ad1d9328de51a2ff1579b7d62a9aeb747.tar.gz
brdo-afb4242ad1d9328de51a2ff1579b7d62a9aeb747.tar.bz2
- Patch #125232 by kkaefer: overlooked an l() convertion.
-rw-r--r--modules/user/user.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 5c3fff7ce..fff9ee978 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -629,7 +629,7 @@ function theme_user_picture($account) {
$alt = t("@user's picture", array('@user' => $account->name ? $account->name : variable_get('anonymous', t('Anonymous'))));
$picture = theme('image', $picture, $alt, $alt, '', FALSE);
if (!empty($account->uid) && user_access('access user profiles')) {
- $picture = l($picture, "user/$account->uid", array('title' => t('View user profile.')), NULL, NULL, FALSE, TRUE);
+ $picture = l($picture, "user/$account->uid", array('attributes' => array('title' => t('View user profile.')), 'html' => TRUE));
}
return "<div class=\"picture\">$picture</div>";