update code toward php 8 compliance

This commit is contained in:
Philippe GRAND 2022-12-17 12:36:33 +01:00
parent 098b3aaaa4
commit 6ed673788e

View File

@ -1256,7 +1256,7 @@ class pdf_cornas extends ModelePDFSuppliersOrders
$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])) {