summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-07-15 17:40:18 +0000
committerDries Buytaert <dries@buytaert.net>2009-07-15 17:40:18 +0000
commit5a8452c55b9e6d7fcef921a7b56c23ef29eec3a9 (patch)
tree7285272f52d423a3a49b2a8ac3a596fb5939c49d /modules/user/user.module
parentb692036962b8d2c5c2b12749cf662d537a889375 (diff)
downloadbrdo-5a8452c55b9e6d7fcef921a7b56c23ef29eec3a9.tar.gz
brdo-5a8452c55b9e6d7fcef921a7b56c23ef29eec3a9.tar.bz2
- Patch #493746 by JohnAlbin, ultimateboy, moshe weitzman: Enhance drupal_attributes() for multiple valued values.
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index ac7f6cbff..f3d188791 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -1177,10 +1177,10 @@ function template_preprocess_user_picture(&$variables) {
if (isset($filepath)) {
$alt = t("@user's picture", array('@user' => $account->name ? $account->name : variable_get('anonymous', t('Anonymous'))));
if (module_exists('image') && $style = variable_get('user_picture_style', '')) {
- $variables['picture'] = theme('image_style', $style, $filepath, $alt, $alt, NULL, FALSE);
+ $variables['picture'] = theme('image_style', $style, $filepath, $alt, $alt, array(), FALSE);
}
else {
- $variables['picture'] = theme('image', $filepath, $alt, $alt, NULL, FALSE);
+ $variables['picture'] = theme('image', $filepath, $alt, $alt, array(), FALSE);
}
if (!empty($account->uid) && user_access('access user profiles')) {
$attributes = array('attributes' => array('title' => t('View user profile.')), 'html' => TRUE);