Skip to content

Commit 772886e

Browse files
authored
Merge branch '2.4-develop' into add-StorefrontClickRefundTabCustomerOrderViewActionGroup
2 parents 996bdaf + 4ae0f74 commit 772886e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Wishlist/Model/Wishlist/Data/WishlistItemFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class WishlistItemFactory
2424
public function create(array $data): WishlistItem
2525
{
2626
return new WishlistItem(
27-
$data['quantity'],
27+
$data['quantity'] ?? 0,
2828
$data['sku'] ?? null,
2929
$data['parent_sku'] ?? null,
3030
isset($data['wishlist_item_id']) ? (int) $data['wishlist_item_id'] : null,

0 commit comments

Comments
 (0)