mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
Merge branch 'MDL-79467' of https://github.com/paulholden/moodle
This commit is contained in:
commit
82b661d8fa
@ -1405,7 +1405,7 @@ class moodle_page {
|
||||
$sitenamedisplay = $CFG->sitenameintitle;
|
||||
}
|
||||
$site = get_site();
|
||||
if (empty(trim($site->{$sitenamedisplay}))) {
|
||||
if (empty(trim($site->{$sitenamedisplay} ?? ''))) {
|
||||
// If for some reason the site name is not yet set, fall back to 'Moodle'.
|
||||
$title .= self::TITLE_SEPARATOR . 'Moodle';
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user