Use string compare so that x.xx.10 > x.xx.[0-9]

This commit is contained in:
John Fleming 2005-07-04 02:05:38 +00:00
parent cdf4da9cc0
commit 3c554363c2

View File

@ -92,7 +92,7 @@ if(is_array($versions)) {
if($version == 1) {
$img = "pass.gif";
$pastlatest = true;
} elseif($currentver > $version[count($version) - 1]['version']) {
} elseif( strcmp($currentver , $version[count($version) - 1]['version']) ){
$img = "pass.gif";
$pastlatest = true;
} else {