Ajout de la ligne pour enregistrer l'email du formulaire

This commit is contained in:
Jean-Patrice Clerc 2023-02-06 21:04:40 +01:00 committed by GitHub
parent 2f6a68481f
commit f497299732
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');