From f5e87f9d8d690f88f83c82b77a038b433164b560 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Wed, 5 Jul 2023 16:36:08 +0200 Subject: [PATCH] #11694 fatal error intval "/" unsuported --- pandora_console/include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/functions.php b/pandora_console/include/functions.php index f0a5115d6f..a5301065a0 100644 --- a/pandora_console/include/functions.php +++ b/pandora_console/include/functions.php @@ -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"; }