Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
symfony_mailer_lite
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
symfony_mailer_lite
Commits
7c27e892
Commit
7c27e892
authored
1 year ago
by
aaron.ferris
Committed by
Wayne Eaker
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3432768
: Type cast issues when running with PHP 8.2
parent
486f1d1b
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!19
Issue #3432768: use an empty string instead of null
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Plugin/Mail/SymfonyMailer.php
+1
-1
1 addition, 1 deletion
src/Plugin/Mail/SymfonyMailer.php
with
1 addition
and
1 deletion
src/Plugin/Mail/SymfonyMailer.php
+
1
−
1
View file @
7c27e892
...
...
@@ -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
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment