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 918dd05 commit 73ca354Copy full SHA for 73ca354
app/code/Magento/Store/Model/Store.php
@@ -531,8 +531,8 @@ public function setName($name)
531
public function getConfig($path)
532
{
533
$data = $this->_config->getValue($path, ScopeInterface::SCOPE_STORE, $this->getCode());
534
- if (!$data) {
535
- $data = $this->_config->getValue($path, ScopeConfigInterface::SCOPE_TYPE_DEFAULT);
+ if ($data === null) {
+ $data = $this->_config->getValue($path);
536
}
537
return $data === false ? null : $data;
538
0 commit comments