Skip to content

Commit

Permalink
LB-132: Revert changes to DataEntry
Browse files Browse the repository at this point in the history
  • Loading branch information
marticos committed Mar 4, 2024
1 parent 16434bb commit 930bef7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions application/controllers/admin/DataEntry.php
Expand Up @@ -1922,12 +1922,11 @@ public function insert()
$mailer->addAddress($saver['email']);
$mailer->setSurvey($surveyid);
$mailer->emailType = 'savesurveydetails';
$mailer->isHTML(false);
$mailer->Subject = gT("Saved Survey Details");
$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.", "unescaped");
$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.");
$message .= "\n\n" . $thissurvey['name'] . "\n\n";
$message .= gT("Name") . ": " . $saver['identifier'] . "\n";
$message .= gT("Reload your survey by clicking on the following link (or pasting it into your browser):", "unescaped") . "\n";
$message .= gT("Reload your survey by clicking on the following link (or pasting it into your browser):") . "\n";
$aParams = array('lang' => $saver['language'], 'loadname' => $saver['identifier']);
$message .= Yii::app()->getController()->createAbsoluteUrl("/survey/index/sid/{$surveyid}/loadall/reload/scid/{$arSaveControl->scid}/", $aParams);
$mailer->Body = $message;
Expand Down

0 comments on commit 930bef7

Please sign in to comment.