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
Merge requests
!5
Feature 1 6
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Feature 1 6
feature_1_6
into
master
Overview
0
Commits
4
Changes
12
Merged
Torsten Oppermann
requested to merge
feature_1_6
into
master
7 years ago
Overview
0
Commits
4
Changes
12
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
f01a4908
4 commits,
7 years ago
12 files
+
64
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
12
Search (e.g. *.vue) (Ctrl+P)
Classes/Controller/JoblistController.php
+
8
−
3
Options
@@ -272,9 +272,8 @@ class JoblistController extends ActionController {
$job
=
$applyData
->
getJob
();
// look for a configured default job, in case of unsolicited application
if
(
$job
===
NULL
&&
$this
->
settings
[
'defaultJobId'
])
{
$unsoliticedJob
=
$this
->
settings
[
'defaultJobId'
];
$applyData
->
setJobId
(
$unsoliticedJob
);
if
((
$job
===
NULL
||
$applyData
->
getJobId
()
===
NULL
)
&&
$applyData
->
getCompany
()
!==
NULL
)
{
$applyData
->
setJobId
(
$applyData
->
getCompany
()
->
getJobId
());
}
if
(
$applyData
->
_isNew
())
{
@@ -403,8 +402,14 @@ class JoblistController extends ActionController {
* @return array
*/
private
function
getApplicationMailMarkers
(
$applyData
):
array
{
$location
=
''
;
if
(
$applyData
->
getCompany
()
!==
NULL
)
{
$location
=
$applyData
->
getCompany
()
->
getCity
();
}
return
[
'salutation'
=>
$applyData
->
getGender
(),
'location'
=>
$location
,
'firstname'
=>
$applyData
->
getFirstName
(),
'lastname'
=>
$applyData
->
getLastName
(),
'street'
=>
$applyData
->
getStreet
(),
Loading