Fix integer background job id type error

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2019-01-15 14:36:03 +01:00
parent 99dea46e25
commit d5927e4d01
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
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->setLastRun($row['last_run']);
$job->setArgument(json_decode($row['argument'], true)); $job->setArgument(json_decode($row['argument'], true));
return $job; return $job;