Fix integer background job id type error

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pull/13607/head
Christoph Wurst 5 years ago
parent 99dea46e25
commit d5927e4d01
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8

@ -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;

Loading…
Cancel
Save