Now hidden lessons cannot be viewed.
Thanks to Javier Gil detecting it. Bug 2733. (http://moodle.org/bugs/bug.php?op=show&bugid=2733)
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@
|
||||
error('Course module is incorrect');
|
||||
}
|
||||
|
||||
require_login($course->id);
|
||||
require_login($course->id, false, $cm);
|
||||
|
||||
/// Print the page header
|
||||
|
||||
|
||||
Reference in New Issue
Block a user