Skip to content

Commit 24126b7

Browse files
author
Rik Willems
committed
Add store level to config read
1 parent 727294d commit 24126b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Newsletter/Controller/Subscriber/NewAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public function execute()
173173
{
174174
if ($this->getRequest()->isPost()
175175
&& $this->getRequest()->getPost('email')
176-
&& $this->newsletterConfig->isActive()
176+
&& $this->newsletterConfig->isActive(ScopeInterface::SCOPE_STORE)
177177
) {
178178
$email = (string)$this->getRequest()->getPost('email');
179179

0 commit comments

Comments
 (0)