Skip to content

Commit

Permalink
Now hidden lessons cannot be viewed.
Browse files Browse the repository at this point in the history
Thanks to Javier Gil detecting it. Bug 2733.
(http://moodle.org/bugs/bug.php?op=show&bugid=2733)
  • Loading branch information
stronk7 committed Mar 12, 2005
1 parent b35fc18 commit 28b09d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/lesson/view.php
Expand Up @@ -22,7 +22,7 @@
error('Course module is incorrect');
}

require_login($course->id);
require_login($course->id, false, $cm);

/// Print the page header

Expand Down

0 comments on commit 28b09d7

Please sign in to comment.