Extra Space at line 1018

When a user chose the Plain Text option, the first field would have a blank space preceding the field name.
This commit is contained in:
Liongold 2014-07-12 17:52:16 +02:00
parent e6eefe9528
commit dbb68258c5
1 changed files with 2 additions and 2 deletions

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