Skip to content

Commit 1325e7e

Browse files
committed
MAGETWO-66683: Allow extending config variables #6989
- Merge Pull Request #6989 from adragus-inviqa/magento2:patch-7
2 parents f779ef2 + 90b0807 commit 1325e7e

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)