summaryrefslogtreecommitdiff
path: root/modules/user
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-11-20 13:44:38 +0000
committerDries Buytaert <dries@buytaert.net>2007-11-20 13:44:38 +0000
commita1e5ac031e22001f25d8ad1a9b0cb1e4105a92cf (patch)
treec573f3eba2571305b494850036865ae174696949 /modules/user
parentece869b0b2ee1214f79349473843a3dd18bf7939 (diff)
downloadbrdo-a1e5ac031e22001f25d8ad1a9b0cb1e4105a92cf.tar.gz
brdo-a1e5ac031e22001f25d8ad1a9b0cb1e4105a92cf.tar.bz2
- Patch #192110 by profix898: fixed hook_profile_alter API.
Diffstat (limited to 'modules/user')
-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 caf301411..4e742be48 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -1449,7 +1449,7 @@ function user_build_content(&$account) {
$edit = NULL;
user_module_invoke('view', $edit, $account);
// Allow modules to modify the fully-built profile.
- drupal_alter('profile', $edit, $account);
+ drupal_alter('profile', $account);
return $account->content;
}