diff --git a/modules/user/user.module b/modules/user/user.module index 9f20b955bcab7d10dfef33799abc1e6b88479b6d..6ca08c5243ee59d51c3a343017e0c46c9736c832 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.