MDL-70995 user: format group names in course participants filter.

This commit is contained in:
Paul Holden
2021-02-24 19:26:12 +00:00
parent 713b28c2a5
commit fac00d7e8c
+1 -1
View File
@@ -224,7 +224,7 @@ class participants_filter implements renderable, templatable {
array_map(function($group) {
return (object) [
'value' => $group->id,
'title' => $group->name,
'title' => format_string($group->name, true, ['context' => $this->context]),
];
}, array_values($groups))
);