Commit c0a44258 authored by recrit's avatar recrit Committed by Joel Muzzerall
Browse files

Issue #2458891 by recrit: Update host entity for revision changes

parent a4ac052b
......@@ -460,6 +460,9 @@ function field_collection_field_update($host_entity_type, $host_entity, $field,
if (!empty($entity->is_new)) {
$entity->setHostEntity($host_entity_type, $host_entity, LANGUAGE_NONE, FALSE);
else {
// If the host entity is saved as new revision, do the same for the item.
if (!empty($host_entity->revision)) {
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