Skip to content

Commit

Permalink
MDL-20927 fixed module login issue
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Nov 21, 2009
1 parent 84971b9 commit 4b682a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/lesson/lesson.php
Expand Up @@ -29,7 +29,7 @@

list($cm, $course, $lesson) = lesson_get_basics($id);

require_login($course->id);
require_login($course, false, $cm);
$context = get_context_instance(CONTEXT_MODULE, $cm->id);

/// Set up some general variables
Expand Down

0 comments on commit 4b682a4

Please sign in to comment.