From c45600b256a0473e1c231304f82f4f9a7b8a7ed0 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Tue, 9 Feb 2016 11:11:13 +0000 Subject: [PATCH] fix rare problem encountered when setting egroupware test job: first char of emailaddress (job-data) was replaced by the number 1 --- 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 a75f57e13d..a50fac0e11 100644 --- a/phpgwapi/inc/class.asyncservice.inc.php +++ b/phpgwapi/inc/class.asyncservice.inc.php @@ -534,7 +534,7 @@ class asyncservice { if (!is_a($this->db, 'egw_db')) return 0; - if (isset($job['data']['next']) && isset($job['next'])) $job['data']['next'] = $job['next']; + if (is_array($job['data']) && isset($job['data']['next']) && isset($job['next'])) $job['data']['next'] = $job['next']; $data = array( 'async_next' => $job['next'], 'async_times' => json_encode($job['times']),