We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9179488 commit 2105fe3Copy full SHA for 2105fe3
app/code/Magento/Backend/Block/Dashboard.php
@@ -31,11 +31,11 @@ protected function _prepareLayout()
31
32
$this->addChild('sales', 'Magento\Backend\Block\Dashboard\Sales');
33
34
- $isEnabledCharts = $this->_scopeConfig->getValue(
+ $isChartEnabled = $this->_scopeConfig->getValue(
35
self::XML_PATH_ENABLE_CHARTS,
36
\Magento\Store\Model\ScopeInterface::SCOPE_STORE
37
);
38
- if ($isEnabledCharts) {
+ if ($isChartEnabled) {
39
$block = $this->getLayout()->createBlock('Magento\Backend\Block\Dashboard\Diagrams');
40
} else {
41
$block = $this->getLayout()->createBlock(
0 commit comments