fixed typo causing no next execution to be found, and therefore periodic jobs to be terminated

This commit is contained in:
Ralf Becker 2014-07-24 15:58:55 +00:00
parent 4515afb067
commit 0440ca0777

View File

@ -302,7 +302,7 @@ class asyncservice
if (!isset($found[$u])) // we have to try the next one, if it exists
{
$nexts = array_keys($units);
if (!isset($next[count($found)-1]))
if (!isset($nexts[count($found)-1]))
{
if ($this->debug) echo "<p>Nothing found, exiting !!!</p>\n";
return False;