Skip to content

Commit 9217dc3

Browse files
committed
ACP2E-147: Unsubscribe or subscriber newsletter not working on customer save for other role in admin
1 parent c2c5ec4 commit 9217dc3

File tree

1 file changed

+0
-4
lines changed
  • app/code/Magento/Customer/Controller/Adminhtml/Index

1 file changed

+0
-4
lines changed

app/code/Magento/Customer/Controller/Adminhtml/Index/Save.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -444,10 +444,6 @@ public function execute()
444444
*/
445445
private function updateSubscriptions(CustomerInterface $customer): void
446446
{
447-
if (!$this->_authorization->isAllowed(null)) {
448-
return;
449-
}
450-
451447
$subscriptionStatus = (array)$this->getRequest()->getParam('subscription_status');
452448
$subscriptionStore = (array)$this->getRequest()->getParam('subscription_store');
453449
if (empty($subscriptionStatus)) {

0 commit comments

Comments
 (0)