update code toward php 8 compliance

This commit is contained in:
Philippe GRAND 2022-12-17 12:43:25 +01:00
parent 618b09e00a
commit 55b930a089

View File

@ -919,7 +919,7 @@ class pdf_rouget extends ModelePdfExpedition
if (!empty($conf->mycompany->multidir_output[$object->entity])) {
$logodir = $conf->mycompany->multidir_output[$object->entity];
}
if (empty($conf->global->MAIN_PDF_USE_LARGE_LOGO)) {
if (!getDolGlobalInt('MAIN_PDF_USE_LARGE_LOGO')) {
$logo = $logodir.'/logos/thumbs/'.$this->emetteur->logo_small;
} else {
$logo = $logodir.'/logos/'.$this->emetteur->logo;