summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-02-11 03:41:36 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-02-11 03:41:36 +0000
commit29adf425b5428347fa89f6d0896b47f5a83dcd23 (patch)
tree3090e788b810b028def846831c3da1fa1da3d677 /modules
parent91ccdda421835fe3091c9204d912a6dbd1a5d57a (diff)
downloadbrdo-29adf425b5428347fa89f6d0896b47f5a83dcd23.tar.gz
brdo-29adf425b5428347fa89f6d0896b47f5a83dcd23.tar.bz2
#663006 by chx: Fixed Error message on edit profile: rebuild in field_multiple_value_form()
Diffstat (limited to 'modules')
-rw-r--r--modules/user/user.module2
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);