Fixed some unencoded & in urls

This commit is contained in:
moodler
2006-10-06 05:44:05 +00:00
parent 670fc5123a
commit 46f8bacfc8
+1 -1
View File
@@ -3749,7 +3749,7 @@ function switchroles_form($courseid) {
if (!$roles = get_assignable_roles($context)) {
return ''; // Nothing to show!
}
return popup_form($CFG->wwwroot.'/course/view.php?id='.$courseid.'&sesskey='.sesskey().'&switchrole=',
return popup_form($CFG->wwwroot.'/course/view.php?id='.$courseid.'&sesskey='.sesskey().'&switchrole=',
$roles, 'switchrole', '', get_string('switchroleto'), 'switchrole', '', true);
} else {
return '';