diff --git a/mod/forum/user.php b/mod/forum/user.php index 9b5003b6479..5922e55098a 100644 --- a/mod/forum/user.php +++ b/mod/forum/user.php @@ -219,6 +219,8 @@ if (empty($result->posts)) { $PAGE->set_heading($pageheading); } else if ($canviewuser) { $PAGE->set_heading(fullname($user)); + } else { + $PAGE->set_heading($SITE->fullname); } echo $OUTPUT->header(); if (!$isspecificcourse) {