Verified Commit 8bd5f269 authored by Lee Rowlands's avatar Lee Rowlands
Browse files

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

(cherry picked from commit b55eafe3)
parent a4068e50
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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')];