From: Roland Häder Date: Mon, 17 Aug 2009 21:06:21 +0000 (+0000) Subject: Tried to fix a warning X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=7294a6e13e021d209acb5230784d6f5d9a224c9a;hp=6152ea7da6f647b5c106593521401c0bc228d511 Tried to fix a warning --- 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);