Fix warning

This commit is contained in:
Laurent Destailleur 2021-10-22 18:44:39 +02:00
parent 622304126e
commit 370642213f

View File

@ -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'];