Skip to content

Commit 7a6217c

Browse files
Saurabh Parekhgelanivishal
Saurabh Parekh
authored andcommitted
Fix function unnecessarily called multiple time
1 parent 1de3379 commit 7a6217c

File tree

1 file changed

+2
-4
lines changed
  • app/code/Magento/CurrencySymbol/view/adminhtml/templates

1 file changed

+2
-4
lines changed

app/code/Magento/CurrencySymbol/view/adminhtml/templates/grid.phtml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@
1313
*/
1414
?>
1515

16-
<?php $block->getCurrencySymbolsData();?>
17-
18-
<form id="currency-symbols-form" action="<?php /* @escapeNotVerified */ echo $block->getFormActionUrl() ?>" method="post">
19-
<input name="form_key" type="hidden" value="<?php /* @escapeNotVerified */ echo $block->getFormKey() ?>" />
16+
<form id="currency-symbols-form" action="<?= /* @escapeNotVerified */ $block->getFormActionUrl() ?>" method="post">
17+
<input name="form_key" type="hidden" value="<?= /* @escapeNotVerified */ $block->getFormKey() ?>" />
2018
<fieldset class="admin__fieldset">
2119
<?php foreach ($block->getCurrencySymbolsData() as $code => $data): ?>
2220
<div class="admin__field _required">

0 commit comments

Comments
 (0)