Skip to content

Commit

Permalink
Merge branch 'MDL-72850' of https://github.com/paulholden/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Nov 1, 2021
2 parents 7071e4d + f4c8daa commit 12795aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/settings/plugins.php
Expand Up @@ -651,8 +651,8 @@
3, $options));
// Teacher roles.
$options = [];
foreach (get_all_roles() as $role) {
$options[$role->id] = $role->shortname;
foreach (role_get_names() as $role) {
$options[$role->id] = $role->localname;
}
$temp->add(new admin_setting_configmultiselect('searchteacherroles',
new lang_string('searchteacherroles', 'admin'),
Expand Down

0 comments on commit 12795aa

Please sign in to comment.