mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-09-26 03:19:05 +02:00
#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
|
||||
$seconds = (intval($seconds / 100) % 60);
|
||||
$seconds = ((intval($seconds) / 100) % 60);
|
||||
if ($seconds > 0) {
|
||||
$ret .= "$seconds seconds";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user