MDL-69128 admin: Convert HTML entities when populating tasklogs filter

This commit is contained in:
Michael Hawkins
2020-07-06 10:04:03 +08:00
committed by Andrew Nicols
parent 49a9e8b07d
commit c6ffe9588e
+1 -1
View File
@@ -66,7 +66,7 @@ echo $OUTPUT->header();
// Output the search form.
echo $OUTPUT->render_from_template('core_admin/tasklogs', (object) [
'action' => $pageurl->out(),
'filter' => $filter,
'filter' => htmlentities($filter),
'resultfilteroptions' => [
(object) [
'value' => -1,