Skip to content

Commit

Permalink
Site option forcelogin is now respected by /mod/forum/search.php, fix…
Browse files Browse the repository at this point in the history
…ing bug 1566
  • Loading branch information
gustav_delius committed Jun 14, 2004
1 parent e0dd8f3 commit 734bdb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/forum/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
error("Course id is incorrect.");
}

if ($course->category) {
if ($course->category or $CFG->forcelogin) {
require_login($course->id);
}

Expand Down

0 comments on commit 734bdb6

Please sign in to comment.