Commit 29adf425 authored by webchick's avatar webchick
Browse files

#663006 by chx: Fixed Error message on edit profile: rebuild in field_multiple_value_form()

parent 91ccdda4
......@@ -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);
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