Skip to content

Commit

Permalink
Merge pull request #3775 from LimeSurvey/task/LB-132-encoding-problem…
Browse files Browse the repository at this point in the history
…s-with-the-body-of-notification-emails

Task/lb 132 encoding problems with the body of notification emails
  • Loading branch information
marticos committed Apr 22, 2024
2 parents 575c6ef + 1c6f420 commit 0f7cae9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions application/libraries/Save.php
Expand Up @@ -210,12 +210,12 @@ function saveSurvey()
$mailer->setSurvey($thissurvey['sid']);
$mailer->emailType = 'savesurveydetails';
$mailer->isHTML(false);
$mailer->Subject = gT("Saved Survey Details") . " - " . $thissurvey['name'];
$message = gT("Thank you for saving your survey in progress. The following details can be used to return to this survey and continue where you left off. Please make sure to remember your password - we cannot retrieve it for you.");
$mailer->Subject = gT("Saved Survey Details", "unescaped") . " - " . $thissurvey['name'];
$message = gT("Thank you for saving your survey in progress. The following details can be used to return to this survey and continue where you left off. Please make sure to remember your password - we cannot retrieve it for you.", "unescaped");
$message .= "\n\n" . $thissurvey['name'] . "\n\n";
$message .= gT("Name") . ": " . Yii::app()->getRequest()->getPost('savename') . "\n";
$message .= gT("Password") . ": ***************\n\n";
$message .= gT("Reload your survey by clicking on the following link (or pasting it into your browser):") . "\n";
$message .= gT("Name", "unescaped") . ": " . Yii::app()->getRequest()->getPost('savename') . "\n";
$message .= gT("Password", "unescaped") . ": ***************\n\n";
$message .= gT("Reload your survey by clicking on the following link (or pasting it into your browser):", "unescaped") . "\n";
$aParams = array('scid' => $scid, 'lang' => App()->language);
if (!empty($clienttoken)) {
$aParams['token'] = $clienttoken;
Expand Down

0 comments on commit 0f7cae9

Please sign in to comment.