update code toward php8 compliance

This commit is contained in:
Philippe GRAND 2022-12-30 12:53:07 +01:00
parent a990d4df19
commit 42e8740a8d

View File

@ -2009,7 +2009,7 @@ class pdf_cyan extends ModelePDFPropales
), ),
'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;
} }