From d57449623b9376e234767bdcf60194d1ed403f3a Mon Sep 17 00:00:00 2001 From: Jeroen De Meerleer Date: Mon, 23 Jul 2018 21:51:08 +0200 Subject: [PATCH] Added true to json_decode (#5471) --- mod/admin.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/admin.php b/mod/admin.php index c8ad5204a4..ba570e583d 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -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'); -- 2.39.5