fix rare problem encountered when setting egroupware test job: first char of emailaddress (job-data) was replaced by the number 1

This commit is contained in:
Klaus Leithoff 2016-02-09 11:11:13 +00:00
parent 366332b79c
commit c45600b256

View File

@ -534,7 +534,7 @@ class asyncservice
{ {
if (!is_a($this->db, 'egw_db')) return 0; 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( $data = array(
'async_next' => $job['next'], 'async_next' => $job['next'],
'async_times' => json_encode($job['times']), 'async_times' => json_encode($job['times']),