Skip to content

Commit

Permalink
Merge pull request #3 from amine-y/patch-1
Browse files Browse the repository at this point in the history
Bug in AbstractConfig class
  • Loading branch information
m1k3lm authored Oct 3, 2023
2 parents 6bd6e4d + 6e18922 commit 0a218ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/AbstractConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public function getValue($key, $storeId = null)
$underscored = strtolower(preg_replace('/(.)([A-Z])/', "$1_$2", $key));
$path = $this->_getSpecificConfigPath($underscored);
if ($path !== null) {
$value = $this->_scopeConfig->getValue(
$value = $this->scopeConfig->getValue(
$path,
ScopeInterface::SCOPE_STORE,
$storeId??$this->storeId
Expand Down

0 comments on commit 0a218ac

Please sign in to comment.