mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Merge pull request #223 from Liongold/master
Extra Space at line 1018 of UserDefinedForm.php
This commit is contained in:
commit
32b9b42f3a
@ -1015,7 +1015,7 @@ JS
|
||||
$this->extend('updateEmail', $email, $recipient, $emailData);
|
||||
|
||||
if($recipient->SendPlain) {
|
||||
$body = strip_tags($recipient->EmailBody) . "\n ";
|
||||
$body = strip_tags($recipient->EmailBody) . "\n";
|
||||
if(isset($emailData['Fields']) && !$recipient->HideFormData) {
|
||||
foreach($emailData['Fields'] as $Field) {
|
||||
$body .= $Field->Title .' - '. $Field->Value ." \n";
|
||||
@ -1255,4 +1255,4 @@ class UserDefinedForm_SubmittedFormEmail extends Email {
|
||||
public function setReplyTo($email) {
|
||||
$this->customHeaders['Reply-To'] = $email;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user