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.module3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 8e23ba165..ca787e054 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -2102,6 +2102,9 @@ function user_build($account) {
function user_build_content($account) {
$account->content = array();
+ $accounts = array($account->uid, $account);
+ field_attach_prepare_view('user', $accounts, 'full');
+
// Build fields content.
$account->content += field_attach_view('user', $account);