Skip to content

Commit

Permalink
MDL-9220 Only fixed 1.8, since 1.7 doesn't seem affected.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasconnault committed Apr 13, 2007
1 parent fdaeef0 commit 65c78f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/forum/user.php
Expand Up @@ -71,7 +71,7 @@
echo '<div class="user-content">';

if ($course->id == SITEID) {
if (!empty($CFG->forceloginforprofiles) || isloggedin()) {
if (empty($CFG->forceloginforprofiles) || isloggedin()) {
// Search throughout the whole site.
$searchcourse = 0;
} else {
Expand Down

0 comments on commit 65c78f2

Please sign in to comment.