diff options
-rw-r--r-- | modules/user/user.pages.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/user/user.pages.inc b/modules/user/user.pages.inc index e069f7fd7..1a5cbaf82 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', |