update code toward php8 compliance
This commit is contained in:
parent
0710031b32
commit
c46e55aaeb
@ -651,7 +651,7 @@ abstract class CommonDocGenerator
|
||||
);
|
||||
|
||||
// Units
|
||||
if (!empty($conf->global->PRODUCT_USE_UNITS)) {
|
||||
if (getDolGlobalInt('PRODUCT_USE_UNITS')) {
|
||||
$resarray['line_unit'] = $outputlangs->trans($line->getLabelOfUnit('long'));
|
||||
$resarray['line_unit_short'] = $outputlangs->trans($line->getLabelOfUnit('short'));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user