Skip to content
Snippets Groups Projects
Commit 6a15a73b authored by Dries Buytaert's avatar Dries Buytaert
Browse files

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

parent 738ef0e6
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment