summaryrefslogtreecommitdiffstats
path: root/lib/private/backgroundjob
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-11-05 10:30:18 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2013-11-05 10:30:18 +0100
commit08c8bf5a7b96b2405949113a3b28bf58a8617b66 (patch)
treeef6858ae2ce11707fe3606faad6f97e3f1afb077 /lib/private/backgroundjob
parent3488202f6728261f6d140f62353ea405f2680452 (diff)
downloadnextcloud-server-08c8bf5a7b96b2405949113a3b28bf58a8617b66.tar.gz
nextcloud-server-08c8bf5a7b96b2405949113a3b28bf58a8617b66.zip
decode arguments as array
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 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;
}