update code toward php 8 compliance
This commit is contained in:
parent
61c4d3b794
commit
098b3aaaa4
@ -1186,7 +1186,7 @@ class pdf_eagle_proforma extends ModelePDFCommandes
|
||||
$pdf->SetXY($this->marge_gauche, $posy);
|
||||
|
||||
// Logo
|
||||
if (empty($conf->global->PDF_DISABLE_MYCOMPANY_LOGO)) {
|
||||
if (!getDolGlobalInt('PDF_DISABLE_MYCOMPANY_LOGO')) {
|
||||
if ($this->emetteur->logo) {
|
||||
$logodir = $conf->mycompany->dir_output;
|
||||
if (!empty($conf->mycompany->multidir_output[$object->entity])) $logodir = $conf->mycompany->multidir_output[$object->entity];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user