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.
1 parent c16f055 commit 51c6d1dCopy full SHA for 51c6d1d
app/code/Magento/Newsletter/Model/Plugin/CustomerPlugin.php
@@ -118,7 +118,7 @@ public function afterSave(
118
* and customer is already confirmed registration
119
* than need to subscribe customer
120
*/
121
- if ($subscriber->getStatus() === Subscriber::STATUS_UNCONFIRMED && empty($result->getConfirmation())) {
+ if ((int)$subscriber->getStatus() === Subscriber::STATUS_UNCONFIRMED && empty($result->getConfirmation())) {
122
$needToUpdate = true;
123
$subscribeStatus = true;
124
}
0 commit comments