Commit f2772bed authored by dpi's avatar dpi

Fixed an issue with fields without values.

parent 56ad08c4
......@@ -63,6 +63,9 @@ class RngConflictProvider implements RngConflictProviderInterface {
/** @var \Drupal\Core\Field\FieldItemList $field_item_list */
$field_item_list = $event->{$field_name};
if (!isset($field_item_list)) {
return [];
}
// Cancel if any fields are empty.
$field_item_list->filterEmptyItems();
......
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