We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aed3f70 commit cf7dd78Copy full SHA for cf7dd78
app/code/Magento/Sales/Model/Reorder/OrderInfoBuyRequestGetter.php
@@ -49,7 +49,7 @@ public function getInfoBuyRequest(OrderItemInterface $orderItem): DataObject
49
$info = $orderItem->getProductOptionByCode('info_buyRequest');
50
$options = $orderItem->getProductOptionByCode('options');
51
52
- if (!empty($options) || is_array($info['options'])) {
+ if (!empty($options) && is_array($info)) {
53
foreach ($options as $option) {
54
if (array_key_exists($option['option_id'], $info['options'])) {
55
try {
0 commit comments