From bc33e002fa8a5016a991a0e32bf3ed4a9cd04895 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Sun, 12 Aug 2007 19:25:57 +0000 Subject: #166688 by pwolanin: user_build_content() needs to have the account passed by reference --- modules/user/user.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/user/user.module b/modules/user/user.module index 5dbabe8aa..55e93eb92 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -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. -- cgit v1.2.3