Fix issue in status name

Before : $commandestatic->LibStatut($obj->nb) shows bad value because bad param

Now : $commandestatic->LibStatut($obj->fk_statut) shows good value.
This commit is contained in:
Pierre Ardoin 2020-05-05 08:40:30 +02:00 committed by GitHub
parent d2d9ce3576
commit c0b9fef229
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,7 +189,7 @@ if ($resql)
$obj = $db->fetch_object($resql);
print '<tr class="oddeven">';
print '<td>'.$commandestatic->LibStatut($obj->nb).'</td>';
print '<td>'.$commandestatic->LibStatut($obj->fk_statut).'</td>';
print '<td class="right"><a href="list.php?statut='.$obj->fk_statut.'">'.$obj->nb.' '.$commandestatic->LibStatut($obj->fk_statut, 3).'</a></td>';
print "</tr>\n";