Skip to content

Commit

Permalink
Avoid using unsCustomerAddressId; use setCustomerAddressId(null) instead
Browse files Browse the repository at this point in the history
  • Loading branch information
torreytsui committed Feb 20, 2017
1 parent 57384ab commit 60a2a21
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,6 @@ private function updateAddressData(Address $address, array $addressData)
// PayPal's address supposes not saving against customer account
$address->setSaveInAddressBook(false);
$address->setSameAsBilling(false);
$address->unsCustomerAddressId();
$address->setCustomerAddressId(null);
}
}

0 comments on commit 60a2a21

Please sign in to comment.