From 9d2a8679e2e8fa60a380395b0c5eca7af2fe5329 Mon Sep 17 00:00:00 2001
From: Jan-Hendrik Willms <tleilax+studip@gmail.com>
Date: Mon, 3 Jun 2024 06:50:03 +0000
Subject: [PATCH] fixes #4242

Closes #4242

Merge request studip/studip!3076
---
 templates/layouts/base.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/layouts/base.php b/templates/layouts/base.php
index 2db1f7eab8b..c28cc1421fc 100644
--- a/templates/layouts/base.php
+++ b/templates/layouts/base.php
@@ -100,7 +100,7 @@ $lang_attr = str_replace('_', '-', $_SESSION['_language']);
         <?= Icon::create('arr_1up', 'info_alt')->asImg(24, ['class' => '']) ?>
     </a>
 
-    <?= $this->render_partial('footer', ['link_params' => $header_template->link_params]); ?>
+    <?= $this->render_partial('footer', ['link_params' => $header_template->link_params ?? null]); ?>
     <?= SkipLinks::getHTML() ?>
     <section class="sr-only" id="notes_for_screenreader" aria-live="polite"></section>
 </body>
-- 
GitLab