decode arguments as array

This commit is contained in:
Thomas Müller 2013-11-05 10:30:18 +01:00
parent 3488202f67
commit 08c8bf5a7b
1 changed files with 1 additions and 1 deletions

View 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;
}