mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
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:
parent
e6eefe9528
commit
dbb68258c5
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user