From b7ce03e2b3a34a14be13775d0e31c974ab30b54f Mon Sep 17 00:00:00 2001
From: Jan-Hendrik Willms <tleilax+studip@gmail.com>
Date: Thu, 2 Mar 2023 07:23:52 +0000
Subject: [PATCH] prevent php8 warnings on profile page, fixes #2233

Closes #2233

Merge request studip/studip!1463
---
 app/views/profile/index.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/views/profile/index.php b/app/views/profile/index.php
index 72e9c9f603f..29f01197d20 100644
--- a/app/views/profile/index.php
+++ b/app/views/profile/index.php
@@ -85,9 +85,9 @@
 
 <?= $dates ?>
 
-<?= $evaluations ?>
+<?= $evaluations ?? '' ?>
 
-<?= $questionnaires ?>
+<?= $questionnaires ?? '' ?>
 
 <? if (!empty($ausgabe_inhalt)) : ?>
     <? foreach ($ausgabe_inhalt as $key => $inhalt) : ?>
-- 
GitLab