Skip to content

Commit 2311795

Browse files
committed
MAGETWO-66793: [Backport] Merchant can't unsubscribe Customer from Newsletter in Admin
1 parent d00263a commit 2311795

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,8 +556,8 @@ protected function _updateCustomerSubscription($customerId, $subscribe)
556556

557557
$sendInformationEmail = false;
558558
$isConfirmNeed = 1 === (int)$this->_scopeConfig->getValue(
559-
self::XML_PATH_CONFIRMATION_FLAG,
560-
\Magento\Store\Model\ScopeInterface::SCOPE_STORE
559+
self::XML_PATH_CONFIRMATION_FLAG,
560+
\Magento\Store\Model\ScopeInterface::SCOPE_STORE
561561
);
562562
$status = $this->getSubscriptionStatus($subscribe, $isConfirmNeed, $customerId);
563563
if ($status == self::STATUS_SUBSCRIBED && $customerData->getConfirmation() === null) {

0 commit comments

Comments
 (0)