From eda599973dd0562bfc4fed438a92469e2e8f3cec Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Thu, 30 Jan 2020 12:00:41 +0100 Subject: [PATCH] JobList: Typecast last_run to integer Signed-off-by: Georg Ehrke --- lib/private/BackgroundJob/JobList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {