From e5a062880a0deddd41db8d2cd141be1baa6c733d Mon Sep 17 00:00:00 2001 From: jbixler Date: Thu, 5 Jul 2018 09:11:46 -0500 Subject: [PATCH] Fix issue where $block->getTotals() is not countable in Magento/Sales/view/adminhtml/templates/order/totalbar.php --- app/code/Magento/Sales/Block/Adminhtml/Order/Totalbar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Sales/Block/Adminhtml/Order/Totalbar.php b/app/code/Magento/Sales/Block/Adminhtml/Order/Totalbar.php index 648a281228908..d52a5e137aa59 100644 --- a/app/code/Magento/Sales/Block/Adminhtml/Order/Totalbar.php +++ b/app/code/Magento/Sales/Block/Adminhtml/Order/Totalbar.php @@ -50,7 +50,7 @@ protected function _beforeToHtml() * * @return array */ - protected function getTotals() + public function getTotals() { return $this->_totals; }