on async job write, make sure that possible next attribute in data is in sync with job[next]

This commit is contained in:
Klaus Leithoff 2013-09-24 10:22:03 +00:00
parent 7246093aad
commit 45326fa484

View File

@ -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']),