From 524bacc085cb3b12afbe2d63bba433f0cebc8ada Mon Sep 17 00:00:00 2001 From: Alex Killing Date: Thu, 30 Jan 2025 17:34:14 +0100 Subject: [PATCH] 43908: Failed test: Selbstevaluation der Teilnehmer --- .../ILIAS/Survey/classes/class.ilObjSurvey.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/components/ILIAS/Survey/classes/class.ilObjSurvey.php b/components/ILIAS/Survey/classes/class.ilObjSurvey.php index 3248d44a2a32..bd08694220d9 100755 --- a/components/ILIAS/Survey/classes/class.ilObjSurvey.php +++ b/components/ILIAS/Survey/classes/class.ilObjSurvey.php @@ -2439,11 +2439,13 @@ public function sendNotificationMail( } $active_id = $this->getActiveID($a_user_id, $a_anonymize_id, $a_appr_id); - $ntf->addAdditionalInfo( - 'results', - $this->getParticipantTextResults($active_id), - true - ); + if ($active_id) { // 43908 + $ntf->addAdditionalInfo( + 'results', + $this->getParticipantTextResults($active_id), + true + ); + } $ntf->setGotoLangId('survey_notification_tutor_link'); $ntf->setReasonLangId('survey_notification_finished_reason');