Permalink
Browse files

Patched login action on news forum

  • Loading branch information...
1 parent 2da3d69 commit f18c648ae73e017a2c21ec9aec03054c6fdcdbe9 moodler committed Oct 3, 2006
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/forum/discuss.php
View
1 mod/forum/discuss.php
@@ -40,6 +40,7 @@
&& ($discussion->timeend == 0 || $discussion->timeend > time())))) {
error('Discussion ID was incorrect or no longer exists', "$CFG->wwwroot/mod/forum/view.php?f=$forum->id");
}
+ require_login($course->id);
} else {
if (! $cm = get_coursemodule_from_instance("forum", $discussion->forum, $course->id)) {

0 comments on commit f18c648

Please sign in to comment.