#11694 fatal error intval "/" unsuported

This commit is contained in:
Jonathan 2023-07-05 16:36:08 +02:00
parent 3ad880cdec
commit f5e87f9d8d
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ function human_milliseconds_to_string($seconds)
} }
// get the seconds // get the seconds
$seconds = (intval($seconds / 100) % 60); $seconds = ((intval($seconds) / 100) % 60);
if ($seconds > 0) { if ($seconds > 0) {
$ret .= "$seconds seconds"; $ret .= "$seconds seconds";
} }