JobList: Typecast last_run to integer
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
parent
9ed106f69a
commit
eda599973d
|
@ -276,7 +276,7 @@ class JobList implements IJobList {
|
|||
}
|
||||
|
||||
$job->setId((int) $row['id']);
|
||||
$job->setLastRun($row['last_run']);
|
||||
$job->setLastRun((int) $row['last_run']);
|
||||
$job->setArgument(json_decode($row['argument'], true));
|
||||
return $job;
|
||||
} catch (AutoloadNotAllowedException $e) {
|
||||
|
|
Loading…
Reference in New Issue