From: nicolasconnault Date: Fri, 13 Apr 2007 02:42:49 +0000 (+0000) Subject: MDL-9220 Only fixed 1.8, since 1.7 doesn't seem affected. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ff406a88da9c0ca6329375c4cd24fd097210a160;p=moodle.git MDL-9220 Only fixed 1.8, since 1.7 doesn't seem affected. --- diff --git a/mod/forum/user.php b/mod/forum/user.php index a01ca3d02b..b7e87c7198 100644 --- a/mod/forum/user.php +++ b/mod/forum/user.php @@ -71,7 +71,7 @@ echo '
'; if ($course->id == SITEID) { - if (!empty($CFG->forceloginforprofiles) || isloggedin()) { + if (empty($CFG->forceloginforprofiles) || isloggedin()) { // Search throughout the whole site. $searchcourse = 0; } else {