From b375370c376d99704b25facc2afbe312890cf026 Mon Sep 17 00:00:00 2001 From: Jeroen De Meerleer Date: Thu, 19 Jul 2018 15:52:48 +0200 Subject: [PATCH] Workerqueue param reformat (#5403) * Prettified the parameter layout of workerqueue * Updated to code standards :) * Where did I go wrong? * Seems like someone needs to sleep ;) --- mod/admin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/admin.php b/mod/admin.php index 8e20850c4e..9fa54bc137 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -784,8 +784,8 @@ function admin_page_workerqueue(App $a) $r = dba::inArray($statement); for($i = 0; $i < count($r); $i++) { - $r[$i]['parameter'] = implode(': ', explode('","', $r[$i]['parameter'])); - $r[$i]['parameter'] = substr($r[$i]['parameter'], 2, -4); + $r[$i]['parameter'] = stripslashes(implode(': ', explode('","', $r[$i]['parameter']))); + $r[$i]['parameter'] = substr($r[$i]['parameter'], 2, -2); } $t = get_markup_template('admin/workerqueue.tpl'); -- 2.39.5