update code toward php8 compliance

This commit is contained in:
Philippe GRAND 2022-12-30 12:54:28 +01:00
parent 5f240db64d
commit 44182f6e50

View File

@ -1623,7 +1623,7 @@ class pdf_cornas extends ModelePDFSuppliersOrders
), ),
'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;
} }