diff options
author | stilez <stilez@users.noreply.github.com> | 2016-05-31 07:42:41 +0100 |
---|---|---|
committer | stilez <stilez@users.noreply.github.com> | 2016-05-31 07:42:41 +0100 |
commit | 70381d4803b9424c1a3f3ef518d8243062452d77 (patch) | |
tree | 5173ee1bad6ee53abd5f4c4bc9b48b95de43b1b8 | |
parent | cf63f1638aab685cc956502f5ddd862a10bf3ff8 (diff) | |
download | pfsense-70381d4803b9424c1a3f3ef518d8243062452d77.zip pfsense-70381d4803b9424c1a3f3ef518d8243062452d77.tar.gz |
missing "("
-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 fbdb59d..e31a299 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 ); |