Skip to content
Snippets Groups Projects
Commit c5e9f122 authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[TASK] Add missing check for empty jobId

parent 6d8fb590
No related branches found
No related tags found
No related merge requests found
......@@ -278,7 +278,7 @@ class JoblistController extends ActionController {
$job = $applyData->getJob();
// look for a configured default job, in case of unsolicited application
if (($job === NULL || $applyData->getJobId() === NULL) && $applyData->getCompany() !== NULL) {
if (($job === '' || $job === NULL || $applyData->getJobId() === NULL) && $applyData->getCompany() !== NULL) {
$applyData->setJobId($applyData->getCompany()->getJobId());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment