Skip to content

Commit

Permalink
Merge pull request #6 from experius/jordy2607-patch-1
Browse files Browse the repository at this point in the history
[BUGFIX] prevent issue with config array values like Magento\Shipping…
  • Loading branch information
lewisvoncken authored Jul 17, 2024
2 parents 060af9b + 1fc001e commit 3cddad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public function getConfigDisplayValue($path, $contextScope, $contextScopeId)
'label' => $option
];
}
if (isset($option['value'])) {
if (isset($option['value']) && !is_array($option['value'])) {
$optionsByValue[$option['value']] = $option;
}
}
Expand Down

0 comments on commit 3cddad1

Please sign in to comment.