Skip to content

Commit 3115fe9

Browse files
impr
1 parent beb41d0 commit 3115fe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Model/Order/ItemRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ private function getItemProductOptions(OrderItemInterface $entity): array
185185
{
186186
$request = $this->getBuyRequest($entity);
187187
$productOptions = $entity->getProductOptions();
188-
$productOptions['info_buyRequest'] = $productOptions
188+
$productOptions['info_buyRequest'] = $productOptions && !empty($productOptions['info_buyRequest'])
189189
? array_merge($productOptions['info_buyRequest'], $request->toArray())
190190
: $request->toArray();
191191

0 commit comments

Comments
 (0)