- Patch #192110 by profix898: fixed hook_profile_alter API.

6.x
Dries Buytaert 2007-11-20 13:44:38 +00:00
parent ece869b0b2
commit a1e5ac031e
1 changed files with 1 additions and 1 deletions

View File

@ -1449,7 +1449,7 @@ function user_build_content(&$account) {
$edit = NULL; $edit = NULL;
user_module_invoke('view', $edit, $account); user_module_invoke('view', $edit, $account);
// Allow modules to modify the fully-built profile. // Allow modules to modify the fully-built profile.
drupal_alter('profile', $edit, $account); drupal_alter('profile', $account);
return $account->content; return $account->content;
} }