Skip to content

Commit 936b550

Browse files
committed
MAGETWO-97680: Issue with Email template preview
1 parent 73ffedf commit 936b550

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/Filter/Template.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,8 +368,8 @@ protected function getVariable($value, $default = '{no_value_defined}')
368368
}
369369
$last = $i;
370370
} elseif (isset($stackVars[$i - 1]['variable'])
371-
&& is_object($stackVars[$i - 1]['variable'])
372-
&& $stackVars[$i]['type'] == 'method'
371+
&& is_object($stackVars[$i - 1]['variable'])
372+
&& $stackVars[$i]['type'] == 'method'
373373
) {
374374
// Calling object methods
375375
$object = $stackVars[$i - 1]['variable'];

0 commit comments

Comments
 (0)