mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Fix escaping of newline's in emails (Fixes #217)
This commit is contained in:
parent
bf2411ea54
commit
c4fe6beca5
@ -1007,7 +1007,7 @@ JS
|
||||
$body = strip_tags($recipient->EmailBody) . "\n ";
|
||||
if(isset($emailData['Fields']) && !$recipient->HideFormData) {
|
||||
foreach($emailData['Fields'] as $Field) {
|
||||
$body .= $Field->Title .' - '. $Field->Value .' \n';
|
||||
$body .= $Field->Title .' - '. $Field->Value ." \n";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user