Skip to content
Snippets Groups Projects
Commit a1d82988 authored by Mike Ryan's avatar Mike Ryan Committed by Mike Ryan
Browse files

Issue #2782113 by mikeryan: Undefined index notice from entity_lookup plugin

parent f201570b
No related branches found
No related tags found
No related merge requests found
...@@ -119,7 +119,7 @@ class EntityLookup extends ProcessPluginBase implements ContainerFactoryPluginIn ...@@ -119,7 +119,7 @@ class EntityLookup extends ProcessPluginBase implements ContainerFactoryPluginIn
public function transform($value, MigrateExecutableInterface $migrateExecutable, Row $row, $destinationProperty) { public function transform($value, MigrateExecutableInterface $migrateExecutable, Row $row, $destinationProperty) {
$this->determineLookupProperties($destinationProperty); $this->determineLookupProperties($destinationProperty);
$this->destinationProperty = $this->configuration['destination_field']; $this->destinationProperty = isset($this->configuration['destination_field']) ? $this->configuration['destination_field'] : NULL;
return $this->query($value); return $this->query($value);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment