MDL-56565 forum: Add sitename as heading when there is nothing to display
This commit is contained in:
committed by
Mr. Jenkins (CiBoT)
parent
73d78820c8
commit
8d8d00ef42
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user