Permalink
Browse files

Site option forcelogin is now respected by /mod/forum/search.php, fix…

…ing bug 1566
  • Loading branch information...
1 parent e0dd8f3 commit 734bdb63bf6ccd9e7a55b358614c2b58c065fda0 gustav_delius committed Jun 14, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/forum/search.php
View
@@ -24,7 +24,7 @@
error("Course id is incorrect.");
}
- if ($course->category) {
+ if ($course->category or $CFG->forcelogin) {
require_login($course->id);
}

0 comments on commit 734bdb6

Please sign in to comment.