MDL-9220 Only fixed 1.8, since 1.7 doesn't seem affected.
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user