forked from Wavyzz/dolibarr
Fix php8.2 warnings
This commit is contained in:
@@ -131,7 +131,7 @@ class modDataPolicy extends DolibarrModules {
|
||||
array('DATAPOLICY_ADHERENT', 'chaine', '', $langs->trans('NUMBER_MONTH_BEFORE_DELETION'), 0),
|
||||
);
|
||||
|
||||
$country = explode(":", empty($conf->global->MAIN_INFO_SOCIETE_COUNTRY) ? '' : $conf->global->MAIN_INFO_SOCIETE_COUNTRY);
|
||||
$country = explode(":", !getDolGlobalString('MAIN_INFO_SOCIETE_COUNTRY') ? '' : $conf->global->MAIN_INFO_SOCIETE_COUNTRY);
|
||||
|
||||
// Some keys to add into the overwriting translation tables
|
||||
/* $this->overwrite_translation = array(
|
||||
|
||||
Reference in New Issue
Block a user