Skip to content

Commit 6c7d616

Browse files
committed
Merge remote-tracking branch 'tango-ce/MAGETWO-62044' into MAGETWO-64483
2 parents 8b9e579 + c8e2f9e commit 6c7d616

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Quote/Model/Quote/ShippingAssignment/ShippingAssignmentProcessor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,13 @@ public function save(CartInterface $quote, ShippingAssignmentInterface $shipping
9393
}
9494
}
9595

96-
$shippingAddress = $quote->getShippingAddress();
96+
$shippingAddress = $shippingAssignment->getShipping()->getAddress();
9797

9898
if ($shippingAddress->getCustomerAddressId()) {
9999
try {
100100
$this->addressRepository->getById($shippingAddress->getCustomerAddressId());
101101
} catch (NoSuchEntityException $e) {
102-
$shippingAssignment->getShipping()->getAddress()->setCustomerAddressId(null);
102+
$shippingAddress->setCustomerAddressId(null);
103103
}
104104
}
105105

0 commit comments

Comments
 (0)