diff options
author | John Fleming <strgout@pfsense.org> | 2005-07-04 02:05:38 +0000 |
---|---|---|
committer | John Fleming <strgout@pfsense.org> | 2005-07-04 02:05:38 +0000 |
commit | 3c554363c2c2effbbd45650db410f4639fcf8a37 (patch) | |
tree | 22eaf18bbef2eee07369a27dba864427332b37e4 | |
parent | cdf4da9cc0468cb9cda6b37ad444825a01a3a67f (diff) | |
download | pfsense-3c554363c2c2effbbd45650db410f4639fcf8a37.zip pfsense-3c554363c2c2effbbd45650db410f4639fcf8a37.tar.gz |
Use string compare so that x.xx.10 > x.xx.[0-9]
-rwxr-xr-x | usr/local/www/system_firmware_check.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_firmware_check.php b/usr/local/www/system_firmware_check.php index 951a8cb..8faa9e3 100755 --- a/usr/local/www/system_firmware_check.php +++ b/usr/local/www/system_firmware_check.php @@ -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 { |