From 5e53b83c1e2d580f9bb74c480cf39cdc6195830f Mon Sep 17 00:00:00 2001 From: xus Date: Thu, 22 Sep 2016 12:18:28 +0200 Subject: [PATCH] bugfix 19144 --- Modules/Survey/classes/class.ilSurveyParticipantsGUI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Survey/classes/class.ilSurveyParticipantsGUI.php b/Modules/Survey/classes/class.ilSurveyParticipantsGUI.php index 00ef55037526..3743a694a9a6 100644 --- a/Modules/Survey/classes/class.ilSurveyParticipantsGUI.php +++ b/Modules/Survey/classes/class.ilSurveyParticipantsGUI.php @@ -878,7 +878,7 @@ public function sendCodesMailObject() { $lang = $this->lng->getDefaultLanguage(); } - $this->object->sendCodes($_POST['m_notsent'], $_POST['m_subject'], $_POST['m_message'],$lang); + $this->object->sendCodes($_POST['m_notsent'], $_POST['m_subject'], nl2br($_POST['m_message']),$lang); ilUtil::sendSuccess($this->lng->txt('mail_sent'), true); $this->ctrl->redirect($this, 'mailCodes'); }