Merge pull request #18410 from ATM-Consulting/FIX_14.0_dolibarr_user_account_creation_from_recruitment_applicant_card
FIX: e-mail of applicant is not transferred to the new user when creating a user from an applicant card
This commit is contained in:
commit
23e8b513c1
@ -264,6 +264,7 @@ if (empty($reshook)) {
|
||||
$nuser->birth = $object->date_birth;
|
||||
$nuser->salary = $object->remuneration_proposed;
|
||||
$nuser->fk_user = $jobposition->fk_user_supervisor; // Supervisor
|
||||
$nuser->email = $object->email;
|
||||
|
||||
$result = $nuser->create($user);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user