Fix integer background job id type error

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pull/13609/head
Christoph Wurst 2019-01-15 14:36:03 +07:00 committed by Backportbot
parent 08676fd8e6
commit cf2657c873
1 changed files with 1 additions and 1 deletions

@ -273,7 +273,7 @@ class JobList implements IJobList {
}
}
$job->setId($row['id']);
$job->setId((int) $row['id']);
$job->setLastRun($row['last_run']);
$job->setArgument(json_decode($row['argument'], true));
return $job;