Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
TYPO3
sg_mail
Commits
46733991
Commit
46733991
authored
Feb 17, 2021
by
Fabio Stegmeyer
Browse files
[TASK] Remove double points in table mail markup
parent
31d8a763
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Classes/Service/MailTemplateService.php
Classes/Service/MailTemplateService.php
+4
-4
No files found.
Classes/Service/MailTemplateService.php
View file @
46733991
...
...
@@ -1006,17 +1006,17 @@ class MailTemplateService {
}
if
(
\
is_string
(
$value
))
{
$allMarker
.
=
'<tr><th>'
.
$key
.
'
:
</th><td> '
.
$value
.
'</td></tr>'
;
$allMarker
.
=
'<tr><th>'
.
$key
.
' </th><td> '
.
$value
.
'</td></tr>'
;
}
elseif
(
\
is_array
(
$value
))
{
foreach
(
$value
as
$innerKey
=>
$innerValue
)
{
$allMarker
.
=
'<tr><th>'
.
$key
.
'.'
.
$innerKey
.
'
:
</th><td> '
.
$innerValue
.
'</td></tr>'
;
$allMarker
.
=
'<tr><th>'
.
$key
.
'.'
.
$innerKey
.
' </th><td> '
.
$innerValue
.
'</td></tr>'
;
}
}
elseif
(
\
is_bool
(
$value
))
{
$valueAsString
=
$value
?
'true'
:
'false'
;
$allMarker
.
=
'<tr><th>'
.
$key
.
'
:
</th><td> '
.
$valueAsString
.
'</td></tr>'
;
$allMarker
.
=
'<tr><th>'
.
$key
.
' </th><td> '
.
$valueAsString
.
'</td></tr>'
;
}
elseif
(
\
is_object
(
$value
))
{
if
(
\
method_exists
(
$value
,
'__toString'
))
{
$allMarker
.
=
'<tr><th>'
.
$key
.
'
:
</th><td> '
.
$value
->
__toString
()
.
'</td></tr>'
;
$allMarker
.
=
'<tr><th>'
.
$key
.
' </th><td> '
.
$value
->
__toString
()
.
'</td></tr>'
;
}
}
}
...
...
Write
Preview
Markdown
is supported
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