Skip to content

Commit f12bb9c

Browse files
committed
MAGETWO-92884: Shipping page contains the equal shipping addresses after adding a user.
1 parent 7993cfa commit f12bb9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public function extract(int $orderId): CustomerInterface
119119
// create new customer address only if it is unique
120120
$customerAddress = $this->addressFactory->create(['data' => $addressData]);
121121
$customerAddress->setIsDefaultBilling(false);
122-
$customerAddress->setIsDefaultBilling(false);
122+
$customerAddress->setIsDefaultShipping(false);
123123
if (is_string($orderAddress->getRegion())) {
124124
/** @var RegionInterface $region */
125125
$region = $this->regionFactory->create();

0 commit comments

Comments
 (0)