summaryrefslogtreecommitdiffstats
path: root/lib/private/backgroundjob/joblist.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/backgroundjob/joblist.php')
-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 cc803dd9b5f..99743a70c77 100644
--- a/lib/private/backgroundjob/joblist.php
+++ b/lib/private/backgroundjob/joblist.php
@@ -138,7 +138,7 @@ class JobList {
$job = new $class();
$job->setId($row['id']);
$job->setLastRun($row['last_run']);
- $job->setArgument(json_decode($row['argument']));
+ $job->setArgument(json_decode($row['argument'], true));
return $job;
}