aboutsummaryrefslogtreecommitdiff
path: root/templates/header.php
diff options
context:
space:
mode:
authorMoritz Strohm <strohm@data-quest.de>2024-03-14 17:08:26 +0000
committerMoritz Strohm <strohm@data-quest.de>2024-03-14 17:08:26 +0000
commit0fb33e2e8ea3a40bd45f72dc16f65419e82a656c (patch)
treebb3eff329cd9719c20030ab9d09427f755b9f898 /templates/header.php
parentf2f70529462f10f08d7a0ca57bfb50c80e645fa4 (diff)
replaced getFullname with getFullName, re #3499
Merge request studip/studip!2660
Diffstat (limited to 'templates/header.php')
-rw-r--r--templates/header.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/header.php b/templates/header.php
index 73e3713..5ff5a1f 100644
--- a/templates/header.php
+++ b/templates/header.php
@@ -76,7 +76,7 @@ if ($navigation) {
$hasSidebar = false;
} ?>
<responsive-navigation :me="<?= htmlReady(json_encode($me)) ?>"
- context="<?= htmlReady(Context::get() ? Context::get()->getFullname() : '') ?>"
+ context="<?= htmlReady(Context::get() ? Context::get()->getFullName() : '') ?>"
:has-sidebar="<?= $hasSidebar ? 'true' : 'false' ?>"
:navigation="<?= htmlReady(json_encode(ResponsiveHelper::getNavigationObject($_COOKIE['responsive-navigation-hash'] ?? null))) ?>"
></responsive-navigation>
@@ -290,7 +290,7 @@ if ($navigation) {
<div id="context-title">
<? if (Context::isCourse()) : ?>
<?= Icon::create('seminar', Icon::ROLE_INFO)->asImg(20, ['class' => 'context_icon']) ?>
- <?= htmlReady(Context::get()->getFullname()) ?>
+ <?= htmlReady(Context::get()->getFullName()) ?>
<? if ($GLOBALS['user']->config->SHOWSEM_ENABLE && !Context::get()->isOpenEnded()): ?>
(<?= htmlReady(Context::get()->getTextualSemester()) ?>)
<? endif ?>