Merge branch 'wip-MDL-31851-master' of git://github.com/marinaglancy/moodle
authorSam Hemelryk <sam@moodle.com>
Tue, 9 Dec 2014 02:13:33 +0000 (15:13 +1300)
committerSam Hemelryk <sam@moodle.com>
Tue, 9 Dec 2014 02:13:33 +0000 (15:13 +1300)
course/request.php

index 75ce9c9..170e308 100644 (file)
@@ -40,7 +40,7 @@ if ($return === 'management') {
 $PAGE->set_url($url);
 
 // Check permissions.
-require_login();
+require_login(null, false);
 if (isguestuser()) {
     print_error('guestsarenotallowed', '', $returnurl);
 }