Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
TYPO3
sg_mail
Commits
2b08119e
Commit
2b08119e
authored
Mar 28, 2019
by
Paul Ilea
Browse files
[BUFIX] Fix issue with non-array marker assignment
parent
b79e75cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Classes/Service/MailTemplateService.php
View file @
2b08119e
...
...
@@ -351,7 +351,7 @@ class MailTemplateService {
public
function
setMarkers
(
array
$markers
):
MailTemplateService
{
$this
->
markers
=
$markers
;
foreach
(
$markers
as
$key
=>
$currentMarker
)
{
if
(
!
isset
(
$currentMarker
[
'markerLabel'
]))
{
if
(
!
\
is_array
(
$currentMarker
)
||
!
isset
(
$currentMarker
[
'markerLabel'
]))
{
continue
;
}
$this
->
markerLabels
[
$key
]
=
$currentMarker
[
'markerLabel'
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment