mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Use string compare so that x.xx.10 > x.xx.[0-9]
This commit is contained in:
parent
cdf4da9cc0
commit
3c554363c2
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user