Skip to content

Commit f4f0e78

Browse files
committed
ACP2E-1512: Env variable config not working for store views with capital letters in the code
fixed static
1 parent 4ae7915 commit f4f0e78

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/internal/Magento/Framework/App/Config/ScopeCodeResolver.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ public function resolve($scopeType, $scopeCode)
5959
$scopeCode = $resolverScopeCode;
6060
}
6161

62-
$this->resolvedScopeCodes[$scopeType][$scopeCode] = is_null($resolverScopeCode) ? null : strtolower($resolverScopeCode);
62+
$this->resolvedScopeCodes[$scopeType][$scopeCode] =
63+
is_null($resolverScopeCode) ? null : strtolower($resolverScopeCode);
6364

6465
return $this->resolvedScopeCodes[$scopeType][$scopeCode];
6566
}

0 commit comments

Comments
 (0)