Skip to content

Commit

Permalink
MC-39765: No such entity with addressId, occurs randomly on visitors …
Browse files Browse the repository at this point in the history
…browser. System Log Generated
  • Loading branch information
OlgaVasyltsun committed Dec 16, 2020
1 parent ad5f3fa commit 3bb857f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function execute(\Magento\Framework\Event\Observer $observer)
}

if ($defaultBilling = $customer->getDefaultBilling()) {
$address = $this->getCustomerAddressById($defaultShipping);
$address = $this->getCustomerAddressById($defaultBilling);

if ($address !== null) {
$this->_customerSession->setDefaultTaxBillingAddress([
Expand Down

0 comments on commit 3bb857f

Please sign in to comment.