diff --git a/app/helpers.php b/app/helpers.php index 59fc0e52..d881a4fb 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -369,7 +369,7 @@ if (!function_exists('secstohhmm')) { */ function secstohhmm($seconds) { - $seconds = round($seconds); + $seconds = round((float) $seconds); $hhmm = sprintf('%02d%02d', ($seconds / 3600), ($seconds / 60 % 60)); echo $hhmm; }