Permalink
Browse files

MDL-20927 fixed module login issue

  • Loading branch information...
skodak committed Nov 21, 2009
1 parent c3671c1 commit fd2f6aed9008241a66803c766ae4f7d3dacb6106
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/lesson/lesson.php
View
@@ -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

0 comments on commit fd2f6ae

Please sign in to comment.