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:21:18 +00:00
parent b4fb293dce
commit 06c7265cea

View File

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