Created
May 22, 2012 04:22
-
-
Save molotovbliss/2766535 to your computer and use it in GitHub Desktop.
Fix for Fooman GoogleAnalytics Plus not working in 1.7 CE, 1.11 EE.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This patch file was generated by NetBeans IDE | |
# It uses platform neutral UTF-8 encoding and \n newlines. | |
--- 991 | |
+++ 992 | |
@@ -62,7 +62,8 @@ | |
$success = false; | |
} | |
- if (version_compare(Mage::getVersion(), '1.4.1.1') > 0 && version_compare(Mage::getVersion(), '1.7.0.0') < 0) { | |
+ // Fix for invalid version detection as well as forward compatibility | |
+ if (version_compare(Mage::getVersion(), '1.4.1.1') > 0) { | |
//Mage 1.4.2 + | |
$new = true; | |
if (!Mage::helper('googleanalytics')->isGoogleAnalyticsAvailable()) { |
No problem, thanks for the work on the great module BTW!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the patch. The next version will include this to equally work on EE: