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
2d758340
Commit
2d758340
authored
May 25, 2021
by
Kevin Ditscheid
Browse files
[BUGFIX] Fix setting of the page id in FormsFinisher
parent
603c1528
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
Classes/Finisher/Forms/FormsFinisher.php
Classes/Finisher/Forms/FormsFinisher.php
+1
-0
No files found.
Classes/Finisher/Forms/FormsFinisher.php
View file @
2d758340
...
...
@@ -136,6 +136,7 @@ class FormsFinisher extends AbstractFinisher {
$site
=
GeneralUtility
::
makeInstance
(
SiteFinder
::
class
)
->
getSiteByPageId
((
int
)
$GLOBALS
[
'TSFE'
]
->
id
);
$siteLanguage
=
$site
->
getLanguageById
(
$languageId
);
$mailTemplateService
->
setSiteLanguage
(
$siteLanguage
);
$mailTemplateService
->
setPid
(
$site
->
getRootPageId
());
$mailToAddresses
=
trim
((
string
)
$this
->
parseOption
(
'mailTo'
));
if
(
$mailToAddresses
!==
''
)
{
...
...
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