diff options
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/system_firmware_check.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/system_firmware_check.php b/usr/local/www/system_firmware_check.php index 4922b07..716faa9 100755 --- a/usr/local/www/system_firmware_check.php +++ b/usr/local/www/system_firmware_check.php @@ -69,8 +69,9 @@ $versions = check_firmware_version(); foreach($versions as $key => $version) { if($key == "current") continue; $currentver = array_shift(explode('-', $currentvers[$key]['version'])); - if($version == 1) { + if($version == 1) { $img = "pass.gif"; + $pastlatest = true; } elseif($currentver > $version[count($version) - 1]['version']) { $img = "pass.gif"; $pastlatest = true; |