Permalink
Browse files

Now hidden lessons cannot be viewed.

Thanks to Javier Gil detecting it. Bug 2733.
(http://moodle.org/bugs/bug.php?op=show&bugid=2733)
  • Loading branch information...
1 parent a394a14 commit d04f8b6cdce77fc527cb4122a87f1f3c029d6e74 stronk7 committed Mar 12, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/lesson/view.php
View
@@ -21,7 +21,7 @@
error("Course module is incorrect");
}
- require_login($course->id);
+ require_login($course->id, false, $cm);
/// Print the page header

0 comments on commit d04f8b6

Please sign in to comment.