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.
2 parents c744040 + 694f842 commit 80a4f6fCopy full SHA for 80a4f6f
app/code/Magento/Store/Model/Store.php
@@ -535,8 +535,8 @@ public function setName($name)
535
public function getConfig($path)
536
{
537
$data = $this->_config->getValue($path, ScopeInterface::SCOPE_STORE, $this->getCode());
538
- if (!$data) {
539
- $data = $this->_config->getValue($path, ScopeConfigInterface::SCOPE_TYPE_DEFAULT);
+ if ($data === null) {
+ $data = $this->_config->getValue($path);
540
}
541
return $data === false ? null : $data;
542
0 commit comments