Commit c07b3eca authored by milkovsky's avatar milkovsky Committed by Wolfgang Ziegler // fago
Browse files

Issue #2274953 by a.milkovsky, recrit: Default revision is incorrectly set...

Issue #2274953 by a.milkovsky, recrit: Default revision is incorrectly set when host entity is NOT default
parent 1e28b3a5
......@@ -476,6 +476,9 @@ function field_collection_field_update($host_entity_type, $host_entity, $field,
$entity->default_revision = TRUE;
$entity->archived = FALSE;
}
else {
$entity->default_revision = FALSE;
}
}
$entity->save(TRUE);
......
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