Verified Commit b55eafe3 authored by larowlan's avatar larowlan
Browse files

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

parent f90141df
......@@ -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')];
Supports Markdown
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