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