Browse Source

Fix integer background job id type error

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Christoph Wurst 5 years ago
parent
commit
cf2657c873
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/private/BackgroundJob/JobList.php

+ 1 - 1
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;