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 f779ef2 + 90b0807 commit 1325e7eCopy full SHA for 1325e7e
app/code/Magento/Email/Model/Source/Variables.php
@@ -61,7 +61,7 @@ public function __construct()
61
public function toOptionArray($withGroup = false)
62
{
63
$optionArray = [];
64
- foreach ($this->_configVariables as $variable) {
+ foreach ($this->getData() as $variable) {
65
$optionArray[] = [
66
'value' => '{{config path="' . $variable['value'] . '"}}',
67
'label' => $variable['label'],
@@ -81,6 +81,6 @@ public function toOptionArray($withGroup = false)
81
*/
82
public function getData()
83
84
- return $this->_configVariables;
+ return $this->_configVariables;
85
}
86
0 commit comments