diff --git a/lib/private/BackgroundJob/JobList.php b/lib/private/BackgroundJob/JobList.php index 12da0c4da1..23695bfbe0 100644 --- a/lib/private/BackgroundJob/JobList.php +++ b/lib/private/BackgroundJob/JobList.php @@ -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) {