From eda599973dd0562bfc4fed438a92469e2e8f3cec Mon Sep 17 00:00:00 2001
From: Georg Ehrke <developer@georgehrke.com>
Date: Thu, 30 Jan 2020 12:00:41 +0100
Subject: [PATCH] JobList: Typecast last_run to integer

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
---
 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 12da0c4da10..23695bfbe03 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) {
-- 
GitLab