]> git.mxchange.org Git - core.git/commitdiff
Opps ...
authorRoland Haeder <roland@mxchange.org>
Mon, 29 Jun 2015 03:09:26 +0000 (05:09 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 29 Jun 2015 03:09:26 +0000 (05:09 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/classes/main/handler/tasks/class_TaskHandler.php

index e4183b113d4b5c104cd434c87f8139fef4a70f6a..4be13cc3997da9fffb427f76a9b056c866343b35 100644 (file)
@@ -220,8 +220,8 @@ class TaskHandler extends BaseHandler implements Registerable, HandleableTask {
 
                // If the task is 'idle_loop', a deplay of zero seconds is fine
                assert($intervalDelay >= 0);
-               assert(($taskName === 'idle_loop') && ($intervalDelay > 0));
-               assert(($taskName === 'idle_loop') && ($startupDelay > 0));
+               assert(($taskName != 'idle_loop') && ($intervalDelay > 0));
+               assert(($taskName != 'idle_loop') && ($startupDelay > 0));
 
                // Create the entry
                $taskEntry = array(