]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed some unencoded & in urls
authormoodler <moodler>
Fri, 6 Oct 2006 05:44:05 +0000 (05:44 +0000)
committermoodler <moodler>
Fri, 6 Oct 2006 05:44:05 +0000 (05:44 +0000)
lib/weblib.php

index 6ae913a89320f0f07d4db89747f80611a30e5cf9..ac8db392bb76eac30e75c8b687d1071a348d3cfa 100644 (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.'&amp;sesskey='.sesskey().'&amp;switchrole=', 
                               $roles, 'switchrole', '', get_string('switchroleto'), 'switchrole', '', true);
         } else {
             return '';