Merge pull request #13609 from nextcloud/backport/13607/stable15

[stable15] Fix integer background job id type error
This commit is contained in:
Roeland Jago Douma 2019-01-15 19:54:27 +01:00 committed by GitHub
commit f50de2af23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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