Merge pull request #13607 from nextcloud/fix/backgroundjob-int-id
Fix integer background job id type error
This commit is contained in:
commit
53c077afc9
|
@ -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…
Reference in New Issue