]> source.dussan.org Git - nextcloud-server.git/commitdiff
decode arguments as array
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 5 Nov 2013 09:30:18 +0000 (10:30 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 5 Nov 2013 09:30:18 +0000 (10:30 +0100)
lib/private/backgroundjob/joblist.php

index cc803dd9b5fb73d98e5f67cb8f45f0fe5fe967f1..99743a70c77b0489b22d7883ffec41e59878bd02 100644 (file)
@@ -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;
        }