Skip to content

Commit 1b055c4

Browse files
authored
MAGETWO-66683: Allow extending config variables #6989
2 parents 465e68c + 1325e7e commit 1b055c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Email/Model/Source/Variables.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function __construct()
6161
public function toOptionArray($withGroup = false)
6262
{
6363
$optionArray = [];
64-
foreach ($this->_configVariables as $variable) {
64+
foreach ($this->getData() as $variable) {
6565
$optionArray[] = [
6666
'value' => '{{config path="' . $variable['value'] . '"}}',
6767
'label' => $variable['label'],
@@ -81,6 +81,6 @@ public function toOptionArray($withGroup = false)
8181
*/
8282
public function getData()
8383
{
84-
return $this->_configVariables;
84+
return $this->_configVariables;
8585
}
8686
}

0 commit comments

Comments
 (0)