Merge pull request #23814 from jpclerc-beep/formulaire-email

FIX : Save email from the auto register form in Project module
This commit is contained in:
Laurent Destailleur 2023-02-09 15:41:33 +01:00 committed by GitHub
commit 2765c743fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -222,6 +222,7 @@ if (empty($reshook) && $action == 'add') {
} else {
$thirdparty->name = dolGetFirstLastname(GETPOST('firstname'), GETPOST('lastname'));
}
$thirdparty->email = GETPOST('email');
$thirdparty->address = GETPOST('address');
$thirdparty->zip = GETPOST('zip');
$thirdparty->town = GETPOST('town');