update code toward php 8 compliance

This commit is contained in:
Philippe GRAND 2022-12-17 12:41:53 +01:00
parent 7d97fb5e0d
commit a5292d10b3

View File

@ -974,7 +974,7 @@ class pdf_espadon 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;