Skip to content
Snippets Groups Projects
Commit fbdb2d28 authored by Dimitris Bozelos's avatar Dimitris Bozelos
Browse files

Issue #3359841 Fixed PHP warning for non-existing array element

parent 95b9a642
No related branches found
No related tags found
No related merge requests found
......@@ -202,10 +202,10 @@ abstract class ExportLocalEntityMappingBase implements EventSubscriberInterface
$matching_field_info = NULL;
$field_mapping = $sync->getFieldMapping();
foreach ($field_mapping as $field_info) {
if ($field_info['machine_name'] !== $local_field) {
if (($field_info['machine_name'] ?? NULL) !== $local_field) {
continue;
}
if ($field_info['remote_name'] !== $remote_field) {
if (($field_info['remote_name'] ?? NULL) !== $remote_field) {
continue;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment