BUGFIX: Include HideFormData field into send plain email - fix for #5211

This commit is contained in:
Michael Andrewartha 2010-04-25 22:36:09 +00:00
parent 8166f686d0
commit 826c6b5829

View File

@ -584,7 +584,7 @@ JS
if($recipient->SendPlain) {
$body = strip_tags($recipient->EmailBody) . "\n ";
if(isset($emailData['Fields'])) {
if(isset($emailData['Fields']) && !$recipient->HideFormData) {
foreach($emailData['Fields'] as $Field) {
$body .= $Field->Title .' - '. $Field->Value .' \n';
}