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 b35fc18 commit 28b09d7057489e49557ab47fe097e20e5dd25c4e stronk7 committed Mar 12, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/lesson/view.php
View
2 mod/lesson/view.php
@@ -22,7 +22,7 @@
error('Course module is incorrect');
}
- require_login($course->id);
+ require_login($course->id, false, $cm);
/// Print the page header

0 comments on commit 28b09d7

Please sign in to comment.