MDL-56565 forum: Add sitename as heading when there is nothing to display
This commit is contained in:
committed by
Mr. Jenkins (CiBoT)
parent
a053131595
commit
bc1d916868
@@ -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