From: moodler Date: Mon, 8 Oct 2007 05:11:15 +0000 (+0000) Subject: Fixed typo from MDL-11642, thanks Gary X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=69d0f96a5356bd41d2d6d5a6c7d5ebede9f11a3e;p=moodle.git Fixed typo from MDL-11642, thanks Gary --- diff --git a/lib/weblib.php b/lib/weblib.php index d77d1f7d76..da100d90f7 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -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();