Skip to content
Snippets Groups Projects
Commit 61f07554 authored by danielspeicher's avatar danielspeicher
Browse files

Remove patch for symphony mailer lite

parent 08e49fc7
Branches
Tags
1 merge request!245Merging develop into main
......@@ -217,9 +217,6 @@
"drupal/svg_image_field": {
"#3090673 URL field formatter": "https://www.drupal.org/files/issues/2019-10-29/3090673-2.svg_image_field.Add-support-for-a-URL-image-formatter.patch"
},
"drupal/symfony_mailer_lite": {
"#3432768 Type casting": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3432768.diff"
},
"drupal/tamper": {
"#3279973 WordCount plugin": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3279973.diff",
"#3268276 Timezone plugin": "https://www.drupal.org/files/issues/2023-04-06/0001-Issue-3268276-Reworking-timezones.patch"
......
diff --git a/src/Plugin/Mail/SymfonyMailer.php b/src/Plugin/Mail/SymfonyMailer.php
index f19cb2c3a36f15e54dffc0a66613cdb6d7a89334..cb5bca08d17ed28e28625e18b4f429b1cf0f83e7 100644
--- a/src/Plugin/Mail/SymfonyMailer.php
+++ b/src/Plugin/Mail/SymfonyMailer.php
@@ -268,7 +268,7 @@ class SymfonyMailer implements MailInterface, ContainerFactoryPluginInterface {
$this->normalizeHeaders($message);
if (!empty($message['headers']) && is_array($message['headers'])) {
foreach ($message['headers'] as $header_key => $header_value) {
- if (empty($header_key) || in_array($header_key, $headers_to_skip, FALSE)) {
+ if (empty($header_value) || empty($header_key) || in_array($header_key, $headers_to_skip, FALSE)) {
continue;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment