Merge pull request #13607 from nextcloud/fix/backgroundjob-int-id

Fix integer background job id type error
This commit is contained in:
Roeland Jago Douma 2019-01-15 15:31:24 +01:00 committed by GitHub
commit 53c077afc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;