update code toward php 8 compliance
This commit is contained in:
parent
8ecd895dc7
commit
310b40bcb2
@ -913,7 +913,7 @@ class pdf_standard_myobject extends ModelePDFMyObject
|
|||||||
$pdf->SetXY($this->marge_gauche, $posy);
|
$pdf->SetXY($this->marge_gauche, $posy);
|
||||||
|
|
||||||
// Logo
|
// Logo
|
||||||
if (empty($conf->global->PDF_DISABLE_MYCOMPANY_LOGO)) {
|
if (!getDolGlobalInt('PDF_DISABLE_MYCOMPANY_LOGO')) {
|
||||||
if ($this->emetteur->logo) {
|
if ($this->emetteur->logo) {
|
||||||
$logodir = $conf->mycompany->dir_output;
|
$logodir = $conf->mycompany->dir_output;
|
||||||
if (!empty($conf->mycompany->multidir_output[$object->entity])) {
|
if (!empty($conf->mycompany->multidir_output[$object->entity])) {
|
||||||
|
|||||||
@ -832,7 +832,7 @@ class pdf_standard_recruitmentjobposition extends ModelePDFRecruitmentJobPositio
|
|||||||
$pdf->SetXY($this->marge_gauche, $posy);
|
$pdf->SetXY($this->marge_gauche, $posy);
|
||||||
|
|
||||||
// Logo
|
// Logo
|
||||||
if (empty($conf->global->PDF_DISABLE_MYCOMPANY_LOGO)) {
|
if (!getDolGlobalInt('PDF_DISABLE_MYCOMPANY_LOGO')) {
|
||||||
if ($this->emetteur->logo) {
|
if ($this->emetteur->logo) {
|
||||||
$logodir = $conf->mycompany->dir_output;
|
$logodir = $conf->mycompany->dir_output;
|
||||||
if (!empty($conf->mycompany->multidir_output[$object->entity])) {
|
if (!empty($conf->mycompany->multidir_output[$object->entity])) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user