fixed from error

This commit is contained in:
Torsten Schulz
2023-12-28 17:10:25 +01:00
parent 67aa86b15b
commit 5025e39f6d
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@@ -122,7 +122,7 @@ class Membership extends Renderer {
$message .= $field . ': ' . $value . "\n"; $message .= $field . ': ' . $value . "\n";
} }
$attachment = [ $attachment = [
'Mitgliedsantrag.pdf' => ['content' => $this->createPdf(), 'type' => 'application/pdf'] 'Mitgliedsantrag.pdf' => ['content' => $this->createPdf($formData), 'type' => 'application/pdf']
]; ];
$this->sendMail($mail, 'Mitgliedsantrag', $message, '', $attachment); $this->sendMail($mail, 'Mitgliedsantrag', $message, '', $attachment);
$this->templateName = 'membership_success'; $this->templateName = 'membership_success';