Fix integer background job id type error
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
99dea46e25
commit
d5927e4d01
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue