From ed92b99eae3b856a46aa903f8514ac118d1d808e Mon Sep 17 00:00:00 2001 From: chorniy_andrey Date: Wed, 27 Nov 2019 12:30:21 +0200 Subject: [PATCH 1/2] delete code which doesn't have any sense here --- .../Catalog/view/frontend/templates/product/listing.phtml | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/code/Magento/Catalog/view/frontend/templates/product/listing.phtml b/app/code/Magento/Catalog/view/frontend/templates/product/listing.phtml index b776fd4f7e193..6cebd51284f48 100644 --- a/app/code/Magento/Catalog/view/frontend/templates/product/listing.phtml +++ b/app/code/Magento/Catalog/view/frontend/templates/product/listing.phtml @@ -16,7 +16,6 @@ */ ?> getLoadedProductCollection(); $_helper = $this->helper(Magento\Catalog\Helper\Output::class); ?> @@ -98,4 +97,3 @@ $_helper = $this->helper(Magento\Catalog\Helper\Output::class); getToolbarHtml() ?> - From 5d3fce4d119892d9f8ead17c0f7c67d5631c43eb Mon Sep 17 00:00:00 2001 From: chorniy_andrey Date: Wed, 27 Nov 2019 16:25:50 +0200 Subject: [PATCH 2/2] change tag name from to , to avoid unnecessary issue in exception.log --- .../Sales/view/frontend/templates/order/order_date.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Sales/view/frontend/templates/order/order_date.phtml b/app/code/Magento/Sales/view/frontend/templates/order/order_date.phtml index 80a0ea02499cc..0cc899530e062 100644 --- a/app/code/Magento/Sales/view/frontend/templates/order/order_date.phtml +++ b/app/code/Magento/Sales/view/frontend/templates/order/order_date.phtml @@ -5,5 +5,5 @@ */ ?>
- escapeHtml(__('Order Date: %1', '' . $block->formatDate($block->getOrder()->getCreatedAt(), \IntlDateFormatter::LONG) . ''), ['span', 'date']) ?> + escapeHtml(__('Order Date: %1', '' . $block->formatDate($block->getOrder()->getCreatedAt(), \IntlDateFormatter::LONG) . ''), ['span']) ?>