Skip to content

Commit 3bb857f

Browse files
committed
MC-39765: No such entity with addressId, occurs randomly on visitors browser. System Log Generated
1 parent ad5f3fa commit 3bb857f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Persistent/Observer/EmulateCustomerObserver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function execute(\Magento\Framework\Event\Observer $observer)
103103
}
104104

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

108108
if ($address !== null) {
109109
$this->_customerSession->setDefaultTaxBillingAddress([

0 commit comments

Comments
 (0)