diff options
-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 { |