summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-08-12 19:25:57 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-08-12 19:25:57 +0000
commitbc33e002fa8a5016a991a0e32bf3ed4a9cd04895 (patch)
treed335ad361977bed383b0debb60ed1282d562fa94 /modules
parent5a09fc0750b629f237163096d61951e485e7f89c (diff)
downloadbrdo-bc33e002fa8a5016a991a0e32bf3ed4a9cd04895.tar.gz
brdo-bc33e002fa8a5016a991a0e32bf3ed4a9cd04895.tar.bz2
#166688 by pwolanin: user_build_content() needs to have the account passed by reference
Diffstat (limited to 'modules')
-rw-r--r--modules/user/user.module2
1 files changed, 1 insertions, 1 deletions
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.