diff options
Diffstat (limited to 'modules/field/field.attach.inc')
-rw-r--r-- | modules/field/field.attach.inc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/field/field.attach.inc b/modules/field/field.attach.inc index d461eca46..3f4a641b3 100644 --- a/modules/field/field.attach.inc +++ b/modules/field/field.attach.inc @@ -547,9 +547,6 @@ function field_attach_form($entity_type, $entity, &$form, &$form_state, $langcod $form['#entity_type'] = $entity_type; $form['#bundle'] = $bundle; - // Save the original entity to allow later re-use. - $form_state['entity'] = $entity; - // Let other modules make changes to the form. // Avoid module_invoke_all() to let parameters be taken by reference. foreach (module_implements('field_attach_form') as $module) { |