From 45326fa484a9cadead40d55ea6caef263b31bf52 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Tue, 24 Sep 2013 10:22:03 +0000 Subject: [PATCH] on async job write, make sure that possible next attribute in data is in sync with job[next] --- phpgwapi/inc/class.asyncservice.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/phpgwapi/inc/class.asyncservice.inc.php b/phpgwapi/inc/class.asyncservice.inc.php index 6c2b4ba8d8..add36583ff 100644 --- a/phpgwapi/inc/class.asyncservice.inc.php +++ b/phpgwapi/inc/class.asyncservice.inc.php @@ -512,6 +512,7 @@ class asyncservice */ function write($job,$exists = False,$where=array()) { + if (isset($job['data']['next']) && isset($job['next'])) $job['data']['next'] = $job['next']; $data = array( 'async_next' => $job['next'], 'async_times' => serialize($job['times']),