Fixed typo from MDL-11642, thanks Gary

This commit is contained in:
moodler 2007-10-08 05:11:15 +00:00
parent 1b39b03a84
commit 69d0f96a53

View File

@ -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();