commit
758404ce1c
1 changed files with 2 additions and 2 deletions
|
|
@ -255,8 +255,8 @@ if (empty($reshook) && $action == 'add') {
|
|||
$thirdparty->town = GETPOST("town");
|
||||
$thirdparty->client = $thirdparty::PROSPECT;
|
||||
$thirdparty->fournisseur = 0;
|
||||
$thirdparty->country_id = GETPOST("country_id", 'int');
|
||||
$thirdparty->state_id = GETPOST("state_id", 'int');
|
||||
$thirdparty->country_id = GETPOSTINT("country_id");
|
||||
$thirdparty->state_id = GETPOSTINT("state_id");
|
||||
$thirdparty->email = ($emailcompany ? $emailcompany : $email);
|
||||
|
||||
// Load object modCodeTiers
|
||||
|
|
|
|||
Loading…
Reference in a new issue