Commit 6a15a73b authored by Dries's avatar Dries
Browse files

- Patch #924154 by fago: user account fields appear on all categories.

parent 738ef0e6
......@@ -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',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment