summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-05-29 05:06:35 +0000
committerColin Smith <colin@pfsense.org>2005-05-29 05:06:35 +0000
commite202c5209253ec75e5315cf3b1e567775d70c5a1 (patch)
treeba45b44d79e080fe4bcc3249e5b9d31da9e50094
parent28d38aa4cd0526adc1b53005cb1f7d70b3092617 (diff)
downloadpfsense-e202c5209253ec75e5315cf3b1e567775d70c5a1.zip
pfsense-e202c5209253ec75e5315cf3b1e567775d70c5a1.tar.gz
Set $pastlatest if we're current.
-rwxr-xr-xusr/local/www/system_firmware_check.php3
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;
OpenPOWER on IntegriCloud