Skip to content

Commit a8f1729

Browse files
committed
Fixes variables in configuration not being replaced with actual values in the backend form fields.
1 parent 9cdc1b7 commit a8f1729

File tree

1 file changed

+4
-0
lines changed
  • app/code/Magento/Config/Block/System/Config

1 file changed

+4
-0
lines changed

app/code/Magento/Config/Block/System/Config/Form.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,10 @@ private function getFieldData(\Magento\Config\Model\Config\Structure\Element\Fie
424424
$backendModel = $field->getBackendModel();
425425
// Backend models which implement ProcessorInterface are processed by ScopeConfigInterface
426426
if (!$backendModel instanceof ProcessorInterface) {
427+
if (array_key_exists($path, $this->_configData)) {
428+
$data = $this->_configData[$path];
429+
}
430+
427431
$backendModel->setPath($path)
428432
->setValue($data)
429433
->setWebsite($this->getWebsiteCode())

0 commit comments

Comments
 (0)