From: Jeroen De Meerleer Date: Thu, 19 Jul 2018 13:52:48 +0000 (+0200) Subject: Workerqueue param reformat (#5403) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b375370c376d99704b25facc2afbe312890cf026;p=friendica.git 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 ;) --- 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');