Skip to content

Commit 0efc836

Browse files
author
saurabh-aureate
committed
Revert "Use stored value of method instead of calling same method again."
This reverts commit cf9b169.
1 parent 855e73a commit 0efc836

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Directory/view/frontend/templates/currency.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
data-mage-init='{"dropdown":{}}'
2525
data-toggle="dropdown"
2626
data-trigger-keypress-button="true">
27-
<strong class="language-<?= $block->escapeHtml($currentCurrencyCode) ?>">
27+
<strong class="language-<?= $block->escapeHtml($block->getCurrentCurrencyCode()) ?>">
2828
<span><?= $block->escapeHtml($currentCurrencyCode) ?> - <?= @$block->escapeHtml($currencies[$currentCurrencyCode]) ?></span>
2929
</strong>
3030
</div>

0 commit comments

Comments
 (0)