mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-10 09:52:33 +01:00
Clean code with rector 2
This commit is contained in:
@@ -92,7 +92,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 (getDolGlobalString('FICHEINTER_ADDON_PDF')) {
|
||||
$modele = $conf->global->FICHEINTER_ADDON_PDF;
|
||||
$modele = getDolGlobalString('FICHEINTER_ADDON_PDF');
|
||||
} else {
|
||||
$modele = 'soleil';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user