diff options
author | Georg Ehrke <developer@georgehrke.com> | 2020-01-30 12:00:41 +0100 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2020-01-31 07:19:06 +0000 |
commit | c0429095bc924680da6a4953a251b2a95132a3e9 (patch) | |
tree | 374c0cc2f18297be07c46ce1fddedba2586eaf49 | |
parent | 297debef34d1192548a1fc451c645e71b05e0a81 (diff) | |
download | nextcloud-server-c0429095bc924680da6a4953a251b2a95132a3e9.tar.gz nextcloud-server-c0429095bc924680da6a4953a251b2a95132a3e9.zip |
JobList: Typecast last_run to integer
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
-rw-r--r-- | lib/private/BackgroundJob/JobList.php | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |