Fix php8.2 warnings

This commit is contained in:
Laurent Destailleur
2023-11-27 11:39:32 +01:00
parent de96af8543
commit 53dab922fd
407 changed files with 2909 additions and 2908 deletions

View File

@@ -91,7 +91,7 @@ function fichinter_create($db, $object, $modele, $outputlangs, $hidedetails = 0,
// Positionne modele sur le nom du modele de fichinter a utiliser
if (!dol_strlen($modele)) {
if (!empty($conf->global->FICHEINTER_ADDON_PDF)) {
if (getDolGlobalString('FICHEINTER_ADDON_PDF')) {
$modele = $conf->global->FICHEINTER_ADDON_PDF;
} else {
$modele = 'soleil';