FIX unit translate in product list if null
This commit is contained in:
parent
0a125f73b5
commit
38b083b766
@ -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>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user