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 ;)
This commit is contained in:
Jeroen De Meerleer 2018-07-19 15:52:48 +02:00 committed by Hypolite Petovan
parent 5af9596dde
commit b375370c37

View File

@ -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');