fixed from error

This commit is contained in:
Torsten Schulz
2023-12-28 17:12:55 +01:00
parent 19f31d83ab
commit 0005666026

View File

@@ -124,6 +124,7 @@ class Membership extends Renderer {
$message .= $field . ': ' . $value . "\n"; $message .= $field . ': ' . $value . "\n";
} }
$attachment = [ $attachment = [
'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';