update code toward php8 compliance

This commit is contained in:
Philippe GRAND 2022-12-30 12:07:05 +01:00
parent 5b94ee35da
commit e5f08f6984

View File

@ -126,7 +126,7 @@ if (($line->info_bits & 2) != 2) {
print '</td>';
if ($filtertype != 1) {
if (!empty($conf->global->PRODUCT_USE_UNITS)) {
if (getDolGlobalInt('PRODUCT_USE_UNITS')) {
$coldisplay++;
print '<td class="nobottom linecoluseunit left">';
print '</td>';