Skip to content

Commit 60a2a21

Browse files
author
torreytsui
committed
Avoid using unsCustomerAddressId; use setCustomerAddressId(null) instead
1 parent 57384ab commit 60a2a21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Braintree/Model/Paypal/Helper/QuoteUpdater.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,6 @@ private function updateAddressData(Address $address, array $addressData)
176176
// PayPal's address supposes not saving against customer account
177177
$address->setSaveInAddressBook(false);
178178
$address->setSameAsBilling(false);
179-
$address->unsCustomerAddressId();
179+
$address->setCustomerAddressId(null);
180180
}
181181
}

0 commit comments

Comments
 (0)