From c98f2a8f078ca5fd96e4957b52ef32862e8ef3c4 Mon Sep 17 00:00:00 2001 From: Flyingmana Date: Wed, 13 Nov 2013 12:24:36 +0100 Subject: [PATCH] fix missing template for disabled graph --- app/code/Magento/Backend/Block/Dashboard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Backend/Block/Dashboard.php b/app/code/Magento/Backend/Block/Dashboard.php index 309a8c54b3e00..9cae3736f0217 100644 --- a/app/code/Magento/Backend/Block/Dashboard.php +++ b/app/code/Magento/Backend/Block/Dashboard.php @@ -52,7 +52,7 @@ protected function _prepareLayout() if ($this->_storeConfig->getConfig(self::XML_PATH_ENABLE_CHARTS)) { $block = $this->getLayout()->createBlock('Magento\Backend\Block\Dashboard\Diagrams'); } else { - $block = $this->getLayout()->createBlock('Magento\Adminhtml\Block\Template') + $block = $this->getLayout()->createBlock('Magento\Backend\Block\Template') ->setTemplate('dashboard/graph/disabled.phtml') ->setConfigUrl($this->getUrl('adminhtml/system_config/edit', array('section'=>'admin'))); }