Skip to content

Commit ae32626

Browse files
Merge remote-tracking branch '39967/fix-for-issue-39729' into comprs_jul4
2 parents a6933f3 + 983f18f commit ae32626

File tree

2 files changed

+483
-3
lines changed

2 files changed

+483
-3
lines changed

app/code/Magento/QuoteGraphQl/Model/Resolver/CustomizableOptions.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2015 Adobe
4+
* * All Rights Reserved.
55
*/
66
declare(strict_types=1);
77

@@ -59,7 +59,10 @@ public function resolve(Field $field, $context, ResolveInfo $info, ?array $value
5959
$cartItem,
6060
(int)$customizableOptionId
6161
);
62-
$customizableOptionsData[] = $customizableOption;
62+
63+
if (!empty($customizableOption)) {
64+
$customizableOptionsData[] = $customizableOption;
65+
}
6366
}
6467
return $customizableOptionsData;
6568
}

0 commit comments

Comments
 (0)