Merge pull request #223 from Liongold/master

Extra Space at line 1018 of UserDefinedForm.php
This commit is contained in:
Will Rossiter 2014-07-13 09:02:38 +12:00
commit 32b9b42f3a

View File

@ -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;
}
}
}