Merge pull request #12926 from atm-greg/FIX_10.0_form_reload_on_country_id_change

fix lost name_alias on country selection
This commit is contained in:
Laurent Destailleur 2020-01-26 22:33:12 +01:00 committed by GitHub
commit 64fab28648
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -950,6 +950,7 @@ else
if (! empty($conf->fournisseur->enabled) && (GETPOST("type")=='f' || (GETPOST("type")=='' && ! empty($conf->global->THIRDPARTY_SUPPLIER_BY_DEFAULT)))) { $object->fournisseur=1; }
$object->name = GETPOST('name', 'alpha');
$object->name_alias = GETPOST('name_alias', 'alpha');
$object->firstname = GETPOST('firstname', 'alpha');
$object->particulier = $private;
$object->prefix_comm = GETPOST('prefix_comm', 'alpha');