Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
a1e5ac03
Commit
a1e5ac03
authored
Nov 20, 2007
by
Dries Buytaert
Browse files
- Patch
#192110
by profix898: fixed hook_profile_alter API.
parent
ece869b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/user/user.module
View file @
a1e5ac03
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment