diff --git a/mail.php b/mail.php index 7e08b5075..181766cec 100755 --- a/mail.php +++ b/mail.php @@ -8,9 +8,6 @@ $template = Template::find(get('id')); $module = $template->module; $smtp = $template->account; -$body = $template['body']; -$subject = $template['subject']; - $body = $module->replacePlaceholders($id_record, $template['body']); $subject = $module->replacePlaceholders($id_record, $template['subject']); @@ -45,7 +42,7 @@ echo '