diff --git a/phpgwapi/inc/class.asyncservice.inc.php b/phpgwapi/inc/class.asyncservice.inc.php index 4685178449..18c8d26d0d 100644 --- a/phpgwapi/inc/class.asyncservice.inc.php +++ b/phpgwapi/inc/class.asyncservice.inc.php @@ -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 "

Nothing found, exiting !!!

\n"; return False;