Skip to content

Commit

Permalink
Fixes variables in configuration not being replaced with actual value…
Browse files Browse the repository at this point in the history
…s in the backend form fields.
  • Loading branch information
hostep committed Feb 19, 2019
1 parent 9cdc1b7 commit a8f1729
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/code/Magento/Config/Block/System/Config/Form.php
Expand Up @@ -424,6 +424,10 @@ private function getFieldData(\Magento\Config\Model\Config\Structure\Element\Fie
$backendModel = $field->getBackendModel();
// Backend models which implement ProcessorInterface are processed by ScopeConfigInterface
if (!$backendModel instanceof ProcessorInterface) {
if (array_key_exists($path, $this->_configData)) {
$data = $this->_configData[$path];
}

$backendModel->setPath($path)
->setValue($data)
->setWebsite($this->getWebsiteCode())
Expand Down

0 comments on commit a8f1729

Please sign in to comment.