Skip to content
Snippets Groups Projects
Commit 08c8bf5a authored by Thomas Müller's avatar Thomas Müller
Browse files

decode arguments as array

parent 3488202f
Branches
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment