Commit bc33e002 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#166688 by pwolanin: user_build_content() needs to have the account passed by reference

parent 5a09fc07
......@@ -1803,7 +1803,7 @@ function user_view($account) {
* @return
* A structured array containing the individual elements of the profile.
*/
function user_build_content($account) {
function user_build_content(&$account) {
$edit = NULL;
user_module_invoke('view', $edit, $account);
// Allow modules to modify the fully-built profile.
......
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