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.
2 parents aa0ad7b + 3836f3f commit 2bea209Copy full SHA for 2bea209
app/code/community/Hackathon/MageMonitoring/Model/Widget/System/Abstract.php
@@ -137,7 +137,8 @@ public function getCpuInfo()
137
public function getMagentoInfo($value)
138
{
139
if (is_null($this->_mageInfo)) {
140
- $this->_mageInfo['version'] = Mage::getVersion() . ' ' . Mage::getEdition() . ' Edition';
+ $this->_mageInfo['version'] = Mage::getVersion() .
141
+ (method_exists(Mage, 'getEdition') ? (' ' . Mage::getEdition() . ' Edition') : '');
142
$statInfo = $this->getMagentoStatInfo();
143
if (!is_null($statInfo)) {
144
$this->_mageInfo = array_merge($this->_mageInfo, $statInfo);
0 commit comments