summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorJohn Fleming <strgout@pfsense.org>2005-07-04 02:05:38 +0000
committerJohn Fleming <strgout@pfsense.org>2005-07-04 02:05:38 +0000
commit3c554363c2c2effbbd45650db410f4639fcf8a37 (patch)
tree22eaf18bbef2eee07369a27dba864427332b37e4 /usr/local/www
parentcdf4da9cc0468cb9cda6b37ad444825a01a3a67f (diff)
downloadpfsense-3c554363c2c2effbbd45650db410f4639fcf8a37.zip
pfsense-3c554363c2c2effbbd45650db410f4639fcf8a37.tar.gz
Use string compare so that x.xx.10 > x.xx.[0-9]
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/system_firmware_check.php2
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 {
OpenPOWER on IntegriCloud