From ce4c68a60fec46634e8cd2379ba2f3575e071d5e Mon Sep 17 00:00:00 2001 From: MaWoScha Date: Sat, 16 Jan 2016 16:41:42 -0300 Subject: [PATCH] add version check 1.5.x and higher --- app/code/community/Indust/CustomShippingRate/Helper/Data.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/community/Indust/CustomShippingRate/Helper/Data.php b/app/code/community/Indust/CustomShippingRate/Helper/Data.php index 122d992..2b53722 100644 --- a/app/code/community/Indust/CustomShippingRate/Helper/Data.php +++ b/app/code/community/Indust/CustomShippingRate/Helper/Data.php @@ -40,7 +40,7 @@ public function isMage141Plus() { $i = explode(".", $i); if ($i[1] == 4 && $i[2] != 0) { // Check for Magento 1.4.1.x or 1.4.2.0 return true; - } else if ($i[1] == 5) { // Check for Magento 1.5.x.x + } else if ($i[1] > 4) { // Check for Magento 1.5.x.x and higher return true; } else { return false;