From 69d0f96a5356bd41d2d6d5a6c7d5ebede9f11a3e Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 8 Oct 2007 05:11:15 +0000 Subject: [PATCH] Fixed typo from MDL-11642, thanks Gary --- lib/weblib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5