Now hidden lessons cannot be viewed.

Thanks to Javier Gil detecting it. Bug 2733.
(http://moodle.org/bugs/bug.php?op=show&bugid=2733)
This commit is contained in:
stronk7
2005-03-12 18:00:05 +00:00
parent b35fc18250
commit 28b09d7057
+1 -1
View File
@@ -22,7 +22,7 @@
error('Course module is incorrect');
}
require_login($course->id);
require_login($course->id, false, $cm);
/// Print the page header