Added true to json_decode (#5471)

This commit is contained in:
Jeroen De Meerleer 2018-07-23 21:51:08 +02:00 committed by Hypolite Petovan
parent cfa68c52b9
commit d57449623b

View file

@ -784,7 +784,8 @@ function admin_page_workerqueue(App $a)
$r = DBA::toArray($statement);
for($i = 0; $i < count($r); $i++) {
$r[$i]['parameter'] = implode(json_decode($r[$i]['parameter']), ': ');
// fix GH-5469. ref: src/Core/Worker.php:217
$r[$i]['parameter'] = implode(json_decode($r[$i]['parameter'], true), ': ');
}
$t = get_markup_template('admin/workerqueue.tpl');