diff options
Diffstat (limited to 'modules/user/user.module')
-rw-r--r-- | modules/user/user.module | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index a59a7146d..29b43cb36 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -2851,10 +2851,8 @@ function user_register() { drupal_goto('user/' . $user->uid); } - $form = array(); - - // Merge in the default user edit fields. - $form = array_merge($form, user_edit_form($form_state, NULL, NULL, TRUE)); + // Start with the default user edit fields. + $form = user_edit_form($form_state, NULL, NULL, TRUE); if ($admin) { $form['account']['notify'] = array( '#type' => 'checkbox', |