2
0
forked from Wavyzz/dolibarr
This commit is contained in:
Laurent Destailleur
2022-05-11 10:28:12 +02:00
parent da5cf74a08
commit c5a4877eb8
2 changed files with 2 additions and 2 deletions

View File

@@ -2988,7 +2988,7 @@ function dol_print_phone($phone, $countrycode = '', $cid = 0, $socid = 0, $addli
if (!empty($conf->global->MAIN_PHONE_SEPAR)) {
$separ = $conf->global->MAIN_PHONE_SEPAR;
}
if (empty($countrycode)) {
if (empty($countrycode) && is_object($mysoc)) {
$countrycode = $mysoc->country_code;
}