We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b504cd commit ac4a2faCopy full SHA for ac4a2fa
app/code/Magento/Newsletter/Controller/Manage/Save.php
@@ -96,9 +96,8 @@ public function execute()
96
->unsubscribeCustomerById($customerId);
97
$this->messageManager->addSuccess(__('We removed the subscription.'));
98
}
99
- }else{
+ } else {
100
$this->messageManager->addSuccess(__('We updated the subscription.'));
101
- return;
102
103
} catch (\Exception $e) {
104
$this->messageManager->addError(__('Something went wrong while saving your subscription.'));
0 commit comments