fix for MDL-9197, multilang filter not applied to default role in course settings

This commit is contained in:
toyomoyo
2007-04-05 03:55:51 +00:00
parent f103bb199e
commit 93cc66aeae
+5
View File
@@ -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"));