diff options
author | Renato Botelho <renato@netgate.com> | 2015-09-01 14:14:11 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-09-01 14:14:11 -0300 |
commit | 93a957b34b718afa319424ab45e26171ceff1a19 (patch) | |
tree | a65dc1813150358208b4e55ad169f31bd06a6458 /src/etc/inc/pfsense-utils.inc | |
parent | de3aa3c283313e190c7f8208c4eda51fdd1903aa (diff) | |
parent | 7265700a28961b4d103d5160c95c75b0aa42811f (diff) | |
download | pfsense-93a957b34b718afa319424ab45e26171ceff1a19.zip pfsense-93a957b34b718afa319424ab45e26171ceff1a19.tar.gz |
Merge branch 'master' into bootstrap
Diffstat (limited to 'src/etc/inc/pfsense-utils.inc')
-rw-r--r-- | src/etc/inc/pfsense-utils.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/inc/pfsense-utils.inc b/src/etc/inc/pfsense-utils.inc index be66e8b..2e12d96 100644 --- a/src/etc/inc/pfsense-utils.inc +++ b/src/etc/inc/pfsense-utils.inc @@ -2232,8 +2232,8 @@ function version_compare_string($a, $b) { } } function version_compare_numeric($a, $b) { - $a_arr = explode('.', rtrim($a, '.0')); - $b_arr = explode('.', rtrim($b, '.0')); + $a_arr = explode('.', rtrim($a, '.')); + $b_arr = explode('.', rtrim($b, '.')); foreach ($a_arr as $n => $val) { if (array_key_exists($n, $b_arr)) { |