diff --git a/lib/private/backgroundjob/joblist.php b/lib/private/backgroundjob/joblist.php
index cc803dd9b5fb73d98e5f67cb8f45f0fe5fe967f1..99743a70c77b0489b22d7883ffec41e59878bd02 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;
 	}