Skip to content

Commit fb80748

Browse files
ENGCOM-3810: Issue #13612 Fixed. #20001
- Merge Pull Request #20001 from aditisinghcedcoss/magento2:aditisinghcedcoss-patch-for-issue#13612 - Merged commits: 1. 0df7243 2. 887902b
2 parents e51df41 + 887902b commit fb80748

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Eav/Model/Entity/Attribute/Source/AbstractSource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function getOptionText($value)
7373
}
7474
}
7575
// End
76-
if (isset($options[$value])) {
76+
if (is_scalar($value) && isset($options[$value])) {
7777
return $options[$value];
7878
}
7979
return false;

0 commit comments

Comments
 (0)