diff options
author | Georg Ehrke <developer@georgehrke.com> | 2020-01-30 12:00:41 +0100 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2020-01-30 12:01:02 +0100 |
commit | eda599973dd0562bfc4fed438a92469e2e8f3cec (patch) | |
tree | 9fa400f2a8d90b854a74eb738c076c7e2f1448d1 /lib/private/BackgroundJob | |
parent | 9ed106f69acaf419414dccfcfd7efa6de22aa45a (diff) | |
download | nextcloud-server-eda599973dd0562bfc4fed438a92469e2e8f3cec.tar.gz nextcloud-server-eda599973dd0562bfc4fed438a92469e2e8f3cec.zip |
JobList: Typecast last_run to integer
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'lib/private/BackgroundJob')
-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) { |