From 93cc66aeaee5ca729bb18aecabd7640a38cb07c0 Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Thu, 5 Apr 2007 03:55:51 +0000 Subject: [PATCH] fix for MDL-9197, multilang filter not applied to default role in course settings --- course/edit.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/course/edit.html b/course/edit.html index 766c3ef49aa..c037a4f057d 100644 --- a/course/edit.html +++ b/course/edit.html @@ -156,6 +156,11 @@ } $choices = $choices + $roles; + + // fix for MDL-9197 + foreach ($choices as $choiceid => $choice) { + $choices[$choiceid] = format_string($choice); + } choose_from_menu ($choices, 'defaultrole', $form->defaultrole, ''); helpbutton("coursedefaultrole", get_string("defaultrole"));