#11694 fatal error intval "/" unsuported
This commit is contained in:
parent
3ad880cdec
commit
f5e87f9d8d
|
@ -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";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue