Skip to content

Commit cf7dd78

Browse files
committed
MC-41981: [Magento Cloud] Reorder Not Working On Storefront
1 parent aed3f70 commit cf7dd78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Model/Reorder/OrderInfoBuyRequestGetter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function getInfoBuyRequest(OrderItemInterface $orderItem): DataObject
4949
$info = $orderItem->getProductOptionByCode('info_buyRequest');
5050
$options = $orderItem->getProductOptionByCode('options');
5151

52-
if (!empty($options) || is_array($info['options'])) {
52+
if (!empty($options) && is_array($info)) {
5353
foreach ($options as $option) {
5454
if (array_key_exists($option['option_id'], $info['options'])) {
5555
try {

0 commit comments

Comments
 (0)