diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-11-05 10:30:18 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-11-05 10:30:18 +0100 |
commit | 08c8bf5a7b96b2405949113a3b28bf58a8617b66 (patch) | |
tree | ef6858ae2ce11707fe3606faad6f97e3f1afb077 /lib/private/backgroundjob | |
parent | 3488202f6728261f6d140f62353ea405f2680452 (diff) | |
download | nextcloud-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.php | 2 |
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; } |