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 aab055d commit eb8f462Copy full SHA for eb8f462
app/code/Magento/Customer/Controller/Adminhtml/Index/Save.php
@@ -244,7 +244,7 @@ public function execute()
244
245
$isSubscribed = null;
246
if ($this->_authorization->isAllowed(null)) {
247
- $isSubscribed = (bool)$this->getRequest()->getPost('subscription');
+ $isSubscribed = $this->getRequest()->getPost('subscription');
248
}
249
if ($isSubscribed !== null) {
250
if ($isSubscribed !== '0') {
0 commit comments