FIX unit translate in product list if null

This commit is contained in:
VESSILLER 2019-11-20 14:43:29 +01:00
parent 0a125f73b5
commit 38b083b766

View File

@ -1005,7 +1005,7 @@ if ($resql)
if (!empty($arrayfields['cu.label']['checked'])) if (!empty($arrayfields['cu.label']['checked']))
{ {
print '<td align="center">'; print '<td align="center">';
if ($obj->cu_label !== '') { if (!empty($obj->cu_label)) {
print $langs->trans($obj->cu_label); print $langs->trans($obj->cu_label);
} }
print '</td>'; print '</td>';