update code toward php8 compliance
This commit is contained in:
parent
f6765fcd98
commit
4c51b2bb6b
@ -119,7 +119,7 @@ echo price($line->qty, 0, '', 0, 0); // Yes, it is a quantity, not a price, but
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
if ($filtertype != 1) {
|
if ($filtertype != 1) {
|
||||||
if (!empty($conf->global->PRODUCT_USE_UNITS)) {
|
if (getDolGlobalInt('PRODUCT_USE_UNITS')) {
|
||||||
print '<td class="linecoluseunit nowrap left">';
|
print '<td class="linecoluseunit nowrap left">';
|
||||||
$label = $tmpproduct->getLabelOfUnit('long');
|
$label = $tmpproduct->getLabelOfUnit('long');
|
||||||
if ($label !== '') {
|
if ($label !== '') {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user