diff options
author | stilez <stilez@users.noreply.github.com> | 2016-05-31 07:42:41 +0100 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-06-22 11:23:26 -0400 |
commit | 07b8134dd0fa7fc420687bf1aee1213f1755f7c0 (patch) | |
tree | 12a7c2364f6211abbfd1d5304b2902736dca662b | |
parent | 3bea132198b1a6139f25e9e2feb298b04cb8a502 (diff) | |
download | pfsense-07b8134dd0fa7fc420687bf1aee1213f1755f7c0.zip pfsense-07b8134dd0fa7fc420687bf1aee1213f1755f7c0.tar.gz |
missing "("
(cherry picked from commit 70381d4803b9424c1a3f3ef518d8243062452d77)
-rw-r--r-- | src/etc/inc/pfsense-utils.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/pfsense-utils.inc b/src/etc/inc/pfsense-utils.inc index e62ac43..a0cdd53 100644 --- a/src/etc/inc/pfsense-utils.inc +++ b/src/etc/inc/pfsense-utils.inc @@ -1151,7 +1151,7 @@ function convert_seconds_to_dhms($sec, $showhoursonly = false) { } // FIXME: When we move to PHP 7 we can use "intdiv($sec % X, Y)" etc list($d, $h, $m, $s) = array( (int)($showhoursonly ? 0 : $sec/86400), - (int)($showhoursonly ? $sec : $sec % 86400)/3600), + (int)(($showhoursonly ? $sec : $sec % 86400)/3600), (int)(($sec % 3600)/60), $sec % 60 ); |