Commit a1e5ac03 authored by Dries's avatar Dries
Browse files

- Patch #192110 by profix898: fixed hook_profile_alter API.

parent ece869b0
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment