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 049fe78 + 9cd9de3 commit 8498a20Copy full SHA for 8498a20
lib/internal/Magento/Framework/App/Bootstrap.php
@@ -409,7 +409,8 @@ public function isDeveloperMode()
409
$mode = $this->server[State::PARAM_MODE];
410
} else {
411
$deploymentConfig = $this->getObjectManager()->get(DeploymentConfig::class);
412
- if (($configMode = $deploymentConfig->get(State::PARAM_MODE)) !== null) {
+ $configMode = $deploymentConfig->get(State::PARAM_MODE);
413
+ if ($configMode) {
414
$mode = $configMode;
415
}
416
0 commit comments