From a1e5ac031e22001f25d8ad1a9b0cb1e4105a92cf Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 20 Nov 2007 13:44:38 +0000 Subject: [PATCH] - Patch #192110 by profix898: fixed hook_profile_alter API. --- modules/user/user.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/user/user.module b/modules/user/user.module index caf301411d6..4e742be4873 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; }