From b0c5683638f3a322e5943ded09a57c1d8ef72c9a Mon Sep 17 00:00:00 2001 From: Max Larkin Date: Thu, 30 Mar 2023 09:02:35 +0100 Subject: [PATCH] MDL-76481 tool_brickfield: Fix PHP 8 report download --- .../classes/output/printable/renderer.php | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/admin/tool/brickfield/classes/output/printable/renderer.php b/admin/tool/brickfield/classes/output/printable/renderer.php index 5ddaee17499..d022e6f560f 100644 --- a/admin/tool/brickfield/classes/output/printable/renderer.php +++ b/admin/tool/brickfield/classes/output/printable/renderer.php @@ -254,19 +254,16 @@ class renderer extends \tool_brickfield\output\renderer { ' . - ' ' . get_string('totalactivitiescount', manager::PLUGINNAME, $data->combodata['total']) . - ' + ' ' . - ' ' . get_string('passedcount', manager::PLUGINNAME, $data->combodata['passed']) . - ' + ' ' . - ' ' . get_string('failedcount', manager::PLUGINNAME, $data->combodata['failed']) . - ' + ' '; @@ -396,8 +393,8 @@ class renderer extends \tool_brickfield\output\renderer { foreach ($data->groupdata as $key => $group) { $checkgroup = area_base::checkgroup_name($key); $icon = $icons[$key]; - $tabledata[] = ['' . ' ' .' '. - get_string('checktype:' . $checkgroup, manager::PLUGINNAME).'', $group->errorinstances]; + $tabledata[] = ['' . ' ' . + get_string('checktype:' . $checkgroup, manager::PLUGINNAME), $group->errorinstances]; } return $this->render_table(