update code toward php 8 compliance

This commit is contained in:
Philippe GRAND 2022-12-17 12:42:57 +01:00
parent a5292d10b3
commit 618b09e00a

View File

@ -553,7 +553,7 @@ class pdf_merou 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;