We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e0b83aa + a890300 commit 550a645Copy full SHA for 550a645
app/code/Magento/Newsletter/Model/ResourceModel/Subscriber.php
@@ -130,7 +130,7 @@ public function loadByEmail($subscriberEmail)
130
*/
131
public function loadByCustomerData(\Magento\Customer\Api\Data\CustomerInterface $customer)
132
{
133
- $storeIds = $this->storeManager->getWebsite($customer->getWebsiteId())->getStoreIds();
+ $storeIds = $this->storeManager->getWebsite()->getStoreIds();
134
135
if ($customer->getId()) {
136
$select = $this->connection
0 commit comments