Skip to content

Commit 3dd3b13

Browse files
pquernersreichel
authored andcommitted
Update app/code/core/Mage/Core/Helper/EnvironmentConfigLoader.php
Co-authored-by: Sven Reichel <github-sr@hotmail.com>
1 parent ad0a37c commit 3dd3b13

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/core/Mage/Core/Helper/EnvironmentConfigLoader.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,9 @@ public function getEnv(): array
197197
}, ARRAY_FILTER_USE_KEY);
198198
$this->envStore = $env;
199199
}
200-
if (!isset($this->envStore[static::ENV_FEATURE_ENABLED])) {
200+
if (!isset($this->envStore[static::ENV_FEATURE_ENABLED]) ||
201+
(bool) $this->envStore[static::ENV_FEATURE_ENABLED] === false
202+
) {
201203
$this->envStore = [];
202204
return $this->envStore;
203205
}

0 commit comments

Comments
 (0)