Skip to content
Snippets Groups Projects
Commit ebc2016b authored by Alex Barth's avatar Alex Barth
Browse files

Follow up fix to #878002: Support multiple sources per mapping target in FeedsDataProcessor.

parent b5993596
No related branches found
No related tags found
No related merge requests found
......@@ -235,7 +235,12 @@ class FeedsDataProcessor extends FeedsProcessor {
}
}
else {
$target_item[$target_element] = $value;
if (is_array($target_item[$target_element]) && is_array($value)) {
$target_item[$target_element] = array_merge($target_item[$target_element], $value);
}
else {
$target_item[$target_element] = $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