Skip to content

Commit

Permalink
Merge pull request #45 from MageMill/master
Browse files Browse the repository at this point in the history
PHP7 compatibility
  • Loading branch information
edannenberg committed Jan 31, 2016
2 parents 2bea209 + f3fd679 commit a8feadb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function getMagentoInfo($value)
{
if (is_null($this->_mageInfo)) {
$this->_mageInfo['version'] = Mage::getVersion() .
(method_exists(Mage, 'getEdition') ? (' ' . Mage::getEdition() . ' Edition') : '');
(method_exists('Mage', 'getEdition') ? (' ' . Mage::getEdition() . ' Edition') : '');
$statInfo = $this->getMagentoStatInfo();
if (!is_null($statInfo)) {
$this->_mageInfo = array_merge($this->_mageInfo, $statInfo);
Expand Down

0 comments on commit a8feadb

Please sign in to comment.