Skip to content

Commit

Permalink
Use stored value of method instead of calling same method again.
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabh-aureate committed May 25, 2018
1 parent 3b35bc5 commit cf9b169
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
data-mage-init='{"dropdown":{}}'
data-toggle="dropdown"
data-trigger-keypress-button="true">
<strong class="language-<?= $block->escapeHtml($block->getCurrentCurrencyCode()) ?>">
<strong class="language-<?= $block->escapeHtml($currentCurrencyCode) ?>">
<span><?= $block->escapeHtml($currentCurrencyCode) ?> - <?= @$block->escapeHtml($currencies[$currentCurrencyCode]) ?></span>
</strong>
</div>
Expand Down

0 comments on commit cf9b169

Please sign in to comment.