From cf9b1690b13a1698273bbc444720588040acc576 Mon Sep 17 00:00:00 2001 From: saurabh-aureate Date: Fri, 25 May 2018 17:26:19 +0530 Subject: [PATCH 1/3] Use stored value of method instead of calling same method again. --- .../Magento/Directory/view/frontend/templates/currency.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Directory/view/frontend/templates/currency.phtml b/app/code/Magento/Directory/view/frontend/templates/currency.phtml index 30283effe4bb7..c01abca183d6a 100644 --- a/app/code/Magento/Directory/view/frontend/templates/currency.phtml +++ b/app/code/Magento/Directory/view/frontend/templates/currency.phtml @@ -24,7 +24,7 @@ data-mage-init='{"dropdown":{}}' data-toggle="dropdown" data-trigger-keypress-button="true"> - + escapeHtml($currentCurrencyCode) ?> - escapeHtml($currencies[$currentCurrencyCode]) ?> From 855e73a4f1271f3b47451093a7fefb73113f1d41 Mon Sep 17 00:00:00 2001 From: saurabh-aureate Date: Fri, 25 May 2018 17:40:12 +0530 Subject: [PATCH 2/3] Use stored value of method instead of calling same method again. --- .../Magento/Marketplace/view/adminhtml/templates/partners.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Marketplace/view/adminhtml/templates/partners.phtml b/app/code/Magento/Marketplace/view/adminhtml/templates/partners.phtml index 309df6f883a49..b63bf9ebd50eb 100644 --- a/app/code/Magento/Marketplace/view/adminhtml/templates/partners.phtml +++ b/app/code/Magento/Marketplace/view/adminhtml/templates/partners.phtml @@ -11,7 +11,7 @@ $partners = $block->getPartners(); ?> - getPartners() as $partner) : ?> +
Date: Fri, 25 May 2018 19:06:09 +0530 Subject: [PATCH 3/3] Revert "Use stored value of method instead of calling same method again." This reverts commit cf9b1690b13a1698273bbc444720588040acc576. --- .../Magento/Directory/view/frontend/templates/currency.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Directory/view/frontend/templates/currency.phtml b/app/code/Magento/Directory/view/frontend/templates/currency.phtml index c01abca183d6a..30283effe4bb7 100644 --- a/app/code/Magento/Directory/view/frontend/templates/currency.phtml +++ b/app/code/Magento/Directory/view/frontend/templates/currency.phtml @@ -24,7 +24,7 @@ data-mage-init='{"dropdown":{}}' data-toggle="dropdown" data-trigger-keypress-button="true"> - + escapeHtml($currentCurrencyCode) ?> - escapeHtml($currencies[$currentCurrencyCode]) ?>