Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sg_jobs
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
TYPO3
sg_jobs
Commits
7dc470ab
Commit
7dc470ab
authored
2 years ago
by
Kevin von Spiczak
Browse files
Options
Downloads
Patches
Plain Diff
[BUGFIX] fix mailqueue pid for sg_jobs mails
parent
a0126b76
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!43
Bugfix 4458 mail pid
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Classes/Controller/JoblistController.php
+4
-1
4 additions, 1 deletion
Classes/Controller/JoblistController.php
with
4 additions
and
1 deletion
Classes/Controller/JoblistController.php
+
4
−
1
View file @
7dc470ab
...
...
@@ -491,7 +491,10 @@ class JoblistController extends ActionController {
'sg_jobs'
,
$this
->
getApplicationMailMarkers
(
$applyData
)
);
$mailService
->
setPid
(
$GLOBALS
[
'TSFE'
]
->
id
);
// set the pageId of the rootpage, otherwise the templates could be duplicated
$site
=
GeneralUtility
::
makeInstance
(
SiteFinder
::
class
)
->
getSiteByPageId
(
$GLOBALS
[
'TSFE'
]
->
id
);
$mailService
->
setPid
(
$site
->
getRootPageId
());
// get email from the job contact, fallback is TS settings
$contact
=
NULL
;
...
...
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