summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r--etc/inc/pfsense-utils.inc2
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);
OpenPOWER on IntegriCloud