update code toward php8 compliance
This commit is contained in:
parent
9ad1f6df19
commit
e3b724b6fa
@ -2593,7 +2593,7 @@ class pdf_sponge extends ModelePDFFactures
|
|||||||
),
|
),
|
||||||
'border-left' => true, // add left line separator
|
'border-left' => true, // add left line separator
|
||||||
);
|
);
|
||||||
if (!empty($conf->global->PRODUCT_USE_UNITS)) {
|
if (getDolGlobalInt('PRODUCT_USE_UNITS')) {
|
||||||
$this->cols['unit']['status'] = true;
|
$this->cols['unit']['status'] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user