Skip to content

Commit

Permalink
Update AbstractSource.php magento#13612 fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
aditisinghcedcoss authored and rajneesh1dev committed Jan 2, 2019
1 parent c4fb1ee commit 9860f0e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function getOptionText($value)
}
}
// End
if (isset($options[$value])) {
if (is_scalar($value) && isset($options[$value])) {
return $options[$value];
}
return false;
Expand Down

0 comments on commit 9860f0e

Please sign in to comment.