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

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