Skip to content

Commit 0df7243

Browse files
aditisinghcedcossrajneesh1dev
authored andcommitted
Update AbstactSource.php Issue #13612 fixed.
1 parent c4fb1ee commit 0df7243

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)