MDL-86709 report_progress: escape identity fields in report export.

This commit is contained in:
Paul Holden
2025-10-01 06:24:16 +00:00
committed by Jenkins
parent 0c70d67059
commit 17e84d95f1
+9 -1
View File
@@ -265,7 +265,15 @@ if ($dataformat !== '' && $grandtotal && count($activities) > 0) {
),
$dataformat,
$columnnames,
$alldata
$alldata,
function (array $record, bool $supportshtml) use ($extrafields): array {
if ($supportshtml) {
foreach ($extrafields as $extrafield) {
$record[$extrafield] = s($record[$extrafield]);
}
}
return $record;
},
);
// Stop further script execution.