summaryrefslogtreecommitdiffstats
path: root/lib/private/BackgroundJob
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-01-15 14:36:03 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-01-15 14:36:03 +0100
commitd5927e4d0173530139d2a76e433e024ca4866de5 (patch)
treef90ed3e592d98b465f2b83bb9abdd19e9b9602fc /lib/private/BackgroundJob
parent99dea46e25bc7ebfb0a739f5599fd4eec9284c6b (diff)
downloadnextcloud-server-d5927e4d0173530139d2a76e433e024ca4866de5.tar.gz
nextcloud-server-d5927e4d0173530139d2a76e433e024ca4866de5.zip
Fix integer background job id type error
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/BackgroundJob')
-rw-r--r--lib/private/BackgroundJob/JobList.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/BackgroundJob/JobList.php b/lib/private/BackgroundJob/JobList.php
index e890c35868b..44b6786841f 100644
--- a/lib/private/BackgroundJob/JobList.php
+++ b/lib/private/BackgroundJob/JobList.php
@@ -273,7 +273,7 @@ class JobList implements IJobList {
}
}
- $job->setId($row['id']);
+ $job->setId((int) $row['id']);
$job->setLastRun($row['last_run']);
$job->setArgument(json_decode($row['argument'], true));
return $job;