From 7294a6e13e021d209acb5230784d6f5d9a224c9a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 17 Aug 2009 21:06:21 +0000 Subject: [PATCH 1/1] Tried to fix a warning --- inc/classes/main/class_BaseFrameworkSystem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/classes/main/class_BaseFrameworkSystem.php b/inc/classes/main/class_BaseFrameworkSystem.php index e3001112..d574f412 100644 --- a/inc/classes/main/class_BaseFrameworkSystem.php +++ b/inc/classes/main/class_BaseFrameworkSystem.php @@ -1145,7 +1145,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { // Idle so long with found function if (function_exists('time_sleep_until')) { // Get current time and add idle time - $sleepUntil = $this->getMilliTime() + $milliSeconds / 1000; + $sleepUntil = $this->getMilliTime() + abs($milliSeconds) / 1000; // New PHP 5.1.0 function found $hasSlept = time_sleep_until($sleepUntil); -- 2.30.2