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.
1 parent 086ef00 commit 3484247Copy full SHA for 3484247
setup/src/Magento/Setup/Model/ConfigModel.php
@@ -73,10 +73,11 @@ public function getAvailableOptions()
73
}
74
75
$optionCollection = array_merge([], ...$optionCollection);
76
+
77
foreach ($optionCollection as $option) {
78
$currentValue = $this->deploymentConfig->get($option->getConfigPath());
- if ($currentValue !== null) {
79
- $option->setDefault();
+ if ($currentValue !== null && $option->acceptValue()) {
80
+ $option->setDefault($currentValue);
81
82
83
0 commit comments