Skip to content

Commit

Permalink
Merge branch 'pr-751' into release-week-11
Browse files Browse the repository at this point in the history
  • Loading branch information
michielgerritsen committed Mar 19, 2024
2 parents 2c74bb9 + 18137cd commit 0769f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Service/Order/Lines/Generator/MagentoGiftWrapping.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function process(OrderInterface $order, array $orderLines): array
$extensionAttributes->getGwItemsBasePriceInclTax() :
$extensionAttributes->getGwItemsPriceInclTax();

if (abs($amount) < 0.01) {
if ($amount === null || abs($amount) < 0.01) {
return $orderLines;
}

Expand Down

0 comments on commit 0769f82

Please sign in to comment.