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 Laurent Destailleur
parent b65e3e4014
commit 5ae079b018

View File

@ -224,6 +224,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');