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
parent 9ed106f69a
commit eda599973d
No known key found for this signature in database
GPG Key ID: 9D98FD9380A1CB43
1 changed files with 1 additions and 1 deletions

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