diff options
-rw-r--r-- | modules/user/user.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index e34c9c9eb..97de9a029 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -361,7 +361,7 @@ function user_save($account, $edit = array(), $category = 'account') { // Get the fields form so we can recognize the fields in the $edit // form that should not go into the serialized data array. $field_form = array(); - $field_form_state = array(); + $field_form_state = form_state_defaults(); $edit = (object) $edit; field_attach_form('user', $edit, $field_form, $field_form_state); |