mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix warning
This commit is contained in:
parent
622304126e
commit
370642213f
|
|
@ -462,7 +462,7 @@ function createThirdParty($authentication, $thirdparty)
|
|||
if ($thirdparty['country_code']) {
|
||||
$newobject->country_id = getCountry($thirdparty['country_code'], 3);
|
||||
}
|
||||
$newobject->region_code = $thirdparty['region_code'];
|
||||
$newobject->region_code = empty($thirdparty['region_code']) ? '' : $thirdparty['region_code'];
|
||||
//if ($thirdparty['province_code']) $newobject->province_code=getCountry($thirdparty['province_code'],3);
|
||||
|
||||
$newobject->phone = $thirdparty['phone'];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user