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
649d0465
Commit
649d0465
authored
May 11, 2020
by
Fabian Galinski
😾
Browse files
[TASK] Restore of the PHP 7.0 compatibility
parent
1b6b97d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Classes/Service/MailTemplateService.php
View file @
649d0465
...
...
@@ -1030,7 +1030,7 @@ class MailTemplateService {
* @param int $siteRootId
* @return Layout|NULL
*/
private
function
getLayoutSource
(
int
$layoutUid
,
int
$siteRootId
)
:
?Layout
{
private
function
getLayoutSource
(
int
$layoutUid
,
int
$siteRootId
)
{
$languageUid
=
0
;
if
(
$this
->
language
!==
self
::
DEFAULT_LANGUAGE
)
{
$languageUid
=
(
int
)
array_search
(
$this
->
language
,
$this
->
getAvailableLanguages
(),
TRUE
);
...
...
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