From 9bab5a8f1a406fa9936bdaadcec17e356fc6608e Mon Sep 17 00:00:00 2001 From: frostmakk Date: Mon, 10 Jan 2022 18:16:11 +0100 Subject: [PATCH] Update extract.php --- administrator/components/com_joomlaupdate/extract.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/administrator/components/com_joomlaupdate/extract.php b/administrator/components/com_joomlaupdate/extract.php index 549206777f89d..c59dc7b01625f 100644 --- a/administrator/components/com_joomlaupdate/extract.php +++ b/administrator/components/com_joomlaupdate/extract.php @@ -525,7 +525,7 @@ public function enforceMinimumExecutionTime() return; } - $sleepMillisec = $minExecTime - $elapsed; + $sleepMillisec = intval($minExecTime - $elapsed); /** * If we need to sleep for more than 1 second we should be using sleep() or time_sleep_until() to prevent high