]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed typo from MDL-11642, thanks Gary
authormoodler <moodler>
Mon, 8 Oct 2007 05:11:15 +0000 (05:11 +0000)
committermoodler <moodler>
Mon, 8 Oct 2007 05:11:15 +0000 (05:11 +0000)
lib/weblib.php

index d77d1f7d7665ed9d21cb34f5625035cbe6c65537..da100d90f7e4e4b064144eecf978357c819ae482 100644 (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();