diff options
author | jim-p <jim@pingle.org> | 2010-06-22 02:53:10 -0400 |
---|---|---|
committer | jim-p <jim@pingle.org> | 2010-06-22 02:53:10 -0400 |
commit | b009b15330c0e688488e94c985cb92355b4f6394 (patch) | |
tree | 1357d02674467d2b205336d220a0050d42f56e72 | |
parent | 4c4b068c1f448bc13d6c464371adc28021769d4f (diff) | |
download | pfsense-b009b15330c0e688488e94c985cb92355b4f6394.zip pfsense-b009b15330c0e688488e94c985cb92355b4f6394.tar.gz |
Add build-time comparison also.
-rw-r--r-- | etc/inc/pfsense-utils.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 17c7e67..e3eef07 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -1810,7 +1810,7 @@ function pfs_version_compare($cur_time, $cur_text, $remote) { if ($v === FALSE) { // If that fails, try to compare by string // Before anything else, simply test if the strings are equal - if ($cur_text == $remote) + if (($cur_text == $remote) || ($cur_time == $remote)) return 0; list($cur_num, $cur_str) = explode('-', $cur_text); list($rem_num, $rem_str) = explode('-', $remote); |