diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-10-25 00:15:11 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-10-25 00:15:11 +0000 |
commit | 6a15a73bd2b76064d1201580b71d447857b8235c (patch) | |
tree | 19b4720bc0e0de526d8108035ea2d87d3c45ff13 | |
parent | 738ef0e6ebe7c5a65f170b1f0dd75c40e7f296b4 (diff) | |
download | brdo-6a15a73bd2b76064d1201580b71d447857b8235c.tar.gz brdo-6a15a73bd2b76064d1201580b71d447857b8235c.tar.bz2 |
- Patch #924154 by fago: user account fields appear on all categories.
-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', |