Skip to content

Commit

Permalink
add version check 1.5.x and higher
Browse files Browse the repository at this point in the history
  • Loading branch information
MaWoScha committed Jan 16, 2016
1 parent 3a8763c commit ce4c68a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ce4c68a

Please sign in to comment.