From 3253a191b7e5a24cf0eba2af454c69a628b6acae Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 24 Jul 2014 15:58:20 +0000 Subject: [PATCH] fixed typo causing no next execution to be found, and therefore periodic jobs to be terminated --- phpgwapi/inc/class.asyncservice.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;