From 6a15a73bd2b76064d1201580b71d447857b8235c Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Mon, 25 Oct 2010 00:15:11 +0000 Subject: [PATCH] - Patch #924154 by fago: user account fields appear on all categories. --- modules/user/user.pages.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/user/user.pages.inc b/modules/user/user.pages.inc index e069f7fd73b6..1a5cbaf822b6 100644 --- a/modules/user/user.pages.inc +++ b/modules/user/user.pages.inc @@ -260,11 +260,10 @@ function user_profile_form($form, &$form_state, $account, $category = 'account') if ($category == 'account') { user_account_form($form, $form_state); + // Attach field widgets. + field_attach_form('user', $account, $form, $form_state); } - // Attach field widgets. - field_attach_form('user', $account, $form, $form_state); - $form['actions'] = array('#type' => 'actions'); $form['actions']['submit'] = array( '#type' => 'submit', -- GitLab