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 7846c30 + 85a7079 commit d0f7d26Copy full SHA for d0f7d26
app/code/community/Algolia/Algoliasearch/Helper/Data.php
@@ -633,6 +633,10 @@ public function escapeJsTranslatedString(Mage_Core_Block_Template $template, $st
633
634
public function isX3Version()
635
{
636
+ if (method_exists('Mage', 'getEdition') === false) {
637
+ return false;
638
+ }
639
+
640
return Mage::EDITION_ENTERPRISE === Mage::getEdition() && version_compare(Mage::getVersion(), '1.14.3', '>=') ||
641
Mage::EDITION_COMMUNITY === Mage::getEdition() && version_compare(Mage::getVersion(), '1.9.3', '>=');
642
}
0 commit comments