diff --git a/lib/weblib.php b/lib/weblib.php index d3b500fc137..9623495c03a 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -3794,7 +3794,7 @@ function switchroles_form($courseid) { return ''; // Nothing to show! } return popup_form($CFG->wwwroot.'/course/view.php?id='.$courseid.'&sesskey='.sesskey().'&switchrole=', - $roles, 'switchrole', '', get_string('switchroleto'), 'switchrole', '', true); + $roles, 'switchrole', '', get_string('switchroleto'), 'switchrole', get_string('switchroleto'), true); } else { return ''; }