Skip to content
Snippets Groups Projects

Readding the changes from 3260646 to avoid array_flip() message.

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -87,7 +87,7 @@ class MigrationImportSync implements EventSubscriberInterface {
if (!in_array($map_source_id, $source_id_values, TRUE)) {
$destination_ids = $id_map->currentDestination();
if ($destination_ids !== NULL) {
if ($destination_ids !== NULL && $destination_ids !== []) {
$this->dispatchRowDeleteEvent(MigrateEvents::PRE_ROW_DELETE, $migration, $destination_ids);
if (class_exists(MigratePlusEvents::class)) {
$this->dispatchRowDeleteEvent(MigratePlusEvents::MISSING_SOURCE_ITEM, $migration, $destination_ids);
Loading