--- /var/www/sdabocconi/DrupalSite/sites/all/modules/field_collection/field_collection.module +++ /var/www/expo-newsletter/sites/all/modules/field_collection/field_collection.module @@ -973,7 +973,7 @@ // Only if the form is being submitted, finish the collection entity and // prepare it for saving. - if ($form_state['submitted'] && !form_get_errors()) { + if ($form_state['submitted'] && !form_get_errors() && $form_state['clicked_button']['#name'] == 'op') { field_attach_submit('field_collection_item', $field_collection_item, $element, $form_state); // Put the field-collection item in $item['entity'], so it is saved with