Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-11-05 13:30:18 +0400
committerThomas Müller <thomas.mueller@tmit.eu>2013-11-05 13:30:18 +0400
commit08c8bf5a7b96b2405949113a3b28bf58a8617b66 (patch)
treeef6858ae2ce11707fe3606faad6f97e3f1afb077 /lib
parent3488202f6728261f6d140f62353ea405f2680452 (diff)
decode arguments as array
Diffstat (limited to 'lib')
-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;
}