JobList: Typecast last_run to integer

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
Georg Ehrke 2020-01-30 12:00:41 +01:00 committed by Backportbot
parent 297debef34
commit c0429095bc

View file

@ -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) {