Skip to content

Commit

Permalink
MDL-63387 enrol_manual: show both role names in enrol users dialog.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulholden committed Sep 1, 2020
1 parent a9165e6 commit ee640d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enrol/manual/classes/enrol_users_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function definition() {
}
}

$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);

Expand Down

0 comments on commit ee640d8

Please sign in to comment.