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

This commit is contained in:
Michael Hawkins 2020-06-26 10:01:17 +08:00 committed by Andrew Nicols
parent 49a9e8b07d
commit c6ffe9588e

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,