Skip to content

Commit

Permalink
ENGCOM-3253: Fix customer unsubscribed issue #18643
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Idolov authored Oct 24, 2018
2 parents 6edc71d + b244668 commit 4c96235
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/code/Magento/Newsletter/Model/Subscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,8 @@ protected function _updateCustomerSubscription($customerId, $subscribe)
} elseif (($this->getStatus() == self::STATUS_UNCONFIRMED) && ($customerData->getConfirmation() === null)) {
$status = self::STATUS_SUBSCRIBED;
$sendInformationEmail = true;
} elseif (($this->getStatus() == self::STATUS_NOT_ACTIVE) && ($customerData->getConfirmation() === null)) {
$status = self::STATUS_NOT_ACTIVE;
} else {
$status = self::STATUS_UNSUBSCRIBED;
}
Expand Down

0 comments on commit 4c96235

Please sign in to comment.