From 29adf425b5428347fa89f6d0896b47f5a83dcd23 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Thu, 11 Feb 2010 03:41:36 +0000 Subject: #663006 by chx: Fixed Error message on edit profile: rebuild in field_multiple_value_form() --- modules/user/user.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user/user.module') 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); -- cgit v1.2.3