summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/user.module')
-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 9f20b955b..6ca08c524 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -2123,7 +2123,7 @@ function user_build_content($account, $build_mode = 'full') {
$account->content = array();
// Build fields content.
- field_attach_prepare_view('user', array($account->uid, $account), $build_mode);
+ field_attach_prepare_view('user', array($account->uid => $account), $build_mode);
$account->content += field_attach_view('user', $account, $build_mode);
// Populate $account->content with a render() array.