Skip to content

Commit 550a645

Browse files
committed
Merge remote-tracking branch 'tango/MC-15237' into Chaika-PR-2019-09-20
2 parents e0b83aa + a890300 commit 550a645

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Newsletter/Model/ResourceModel/Subscriber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function loadByEmail($subscriberEmail)
130130
*/
131131
public function loadByCustomerData(\Magento\Customer\Api\Data\CustomerInterface $customer)
132132
{
133-
$storeIds = $this->storeManager->getWebsite($customer->getWebsiteId())->getStoreIds();
133+
$storeIds = $this->storeManager->getWebsite()->getStoreIds();
134134

135135
if ($customer->getId()) {
136136
$select = $this->connection

0 commit comments

Comments
 (0)