Selaa lähdekoodia

Fix #19672 : email unicity was checked when email was null

Maxime Kohlhaas 3 vuotta sitten
vanhempi
commit
3ada0a8741
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      htdocs/recruitment/recruitmentcandidature_card.php

+ 2 - 0
htdocs/recruitment/recruitmentcandidature_card.php

@@ -260,6 +260,8 @@ if (empty($reshook)) {
 			$nuser->employee = 1;
 			$nuser->firstname = $object->firstname;
 			$nuser->lastname = $object->lastname;
+			$nuser->email = '';
+			$nuser->personal_email = $object->email;
 			$nuser->personal_mobile = $object->phone;
 			$nuser->birth = $object->date_birth;
 			$nuser->salary = $object->remuneration_proposed;