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:20 +00:00
parent c013b68772
commit 3253a191b7

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;