From 5b16412e0b56eabd5141626ac5019cd977ea4d5f Mon Sep 17 00:00:00 2001 From: Sebastian Zoglowek Date: Fri, 4 Nov 2022 16:22:37 +0100 Subject: [PATCH] [Bugfix] Fixed a bug when attaching a feedback xml would not work with symfony mailer --- src/Resources/contao/forms/ExposeForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Resources/contao/forms/ExposeForm.php b/src/Resources/contao/forms/ExposeForm.php index 2f137fbe..f46562a9 100644 --- a/src/Resources/contao/forms/ExposeForm.php +++ b/src/Resources/contao/forms/ExposeForm.php @@ -452,7 +452,7 @@ protected function attachFeedbackXml($objRealEstate, $arrSubmitted) ( 'tmp_name' => TL_ROOT . '/' . $filePath, 'name' => 'feedback.xml', - 'type' => 'xml' + 'type' => 'application/xml' ); }