Unverified Commit c616ff13 authored by larowlan's avatar larowlan

Issue #3173437 by anmolgoyal74: Repeative 'or' word in FieldOptionTranslation.php

(cherry picked from commit b55eafe3)
parent bae143de
......@@ -40,7 +40,7 @@ public function transform($value, MigrateExecutableInterface $migrate_executable
$i = 0;
foreach ($list as $allowed_value) {
// Get the key for this allowed value which may be a key|label pair
// or or just key.
// or just key.
$value = explode("|", $allowed_value);
if (isset($value[0]) && ($value[0] == $option)) {
$allowed_values = ['label' => $row->getSourceProperty('translation')];
......
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