mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
Fixed typo from MDL-11642, thanks Gary
This commit is contained in:
parent
1b39b03a84
commit
69d0f96a53
@ -4594,7 +4594,7 @@ function switchroles_form($courseid) {
|
||||
return '';
|
||||
}
|
||||
|
||||
if (!empty($user->access['rsw'][$context->path])){ // Just a button to return to normal
|
||||
if (!empty($USER->access['rsw'][$context->path])){ // Just a button to return to normal
|
||||
$options = array();
|
||||
$options['id'] = $courseid;
|
||||
$options['sesskey'] = sesskey();
|
||||
|
Loading…
x
Reference in New Issue
Block a user