FIx product list
fix mistake if fk_state empty
This commit is contained in:
parent
05636c39bd
commit
8284d0ee06
@ -1445,7 +1445,9 @@ if ($resql)
|
||||
// State
|
||||
if (!empty($arrayfields['p.fk_state']['checked']))
|
||||
{
|
||||
print '<td>'.getState($obj->fk_state, 0, $db).'</td>';
|
||||
print '<td>';
|
||||
if (!empty($obj->fk_state)) print getState($obj->fk_state, 0, $db);
|
||||
print '</td>';
|
||||
if (!$i) $totalarray['nbfield']++;
|
||||
}
|
||||
// Accountancy code sell
|
||||
|
||||
Loading…
Reference in New Issue
Block a user