MDL-63387 enrol_manual: show both role names in enrol users dialog.
This commit is contained in:
@@ -116,7 +116,7 @@ class enrol_manual_enrol_users_form extends moodleform {
|
||||
}
|
||||
}
|
||||
|
||||
$roles = get_assignable_roles($context);
|
||||
$roles = get_assignable_roles($context, ROLENAME_BOTH);
|
||||
$mform->addElement('select', 'roletoassign', get_string('assignrole', 'enrol_manual'), $roles);
|
||||
$mform->setDefault('roletoassign', $instance->roleid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user