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 3d24bb0 commit c902812Copy full SHA for c902812
1 file changed
Config/Config.php
@@ -4,6 +4,7 @@
4
5
use Magento\Framework\App\Config\ScopeConfigInterface;
6
use Magento\Framework\View\Element\Block\ArgumentInterface;
7
+use Magento\Store\Model\ScopeInterface;
8
9
class Config implements ArgumentInterface
10
{
@@ -14,6 +15,9 @@ public function __construct(
14
15
16
public function enableMxValidationForEmail(): bool
17
- return (bool)$this->scopeConfig->getValue('loki_components/validators/enable_mx_validation_for_email');
18
+ return (bool)$this->scopeConfig->getValue(
19
+ 'loki_components/validators/enable_mx_validation_for_email',
20
+ ScopeInterface::SCOPE_STORE
21
+ );
22
}
23
0 commit comments