diff --git a/htdocs/fourn/commande/liste.php b/htdocs/fourn/commande/liste.php index 8d5e51dccc2..44b7af167f9 100644 --- a/htdocs/fourn/commande/liste.php +++ b/htdocs/fourn/commande/liste.php @@ -58,7 +58,7 @@ if ($socid > 0) llxHeader('',$title); -$commandestatic=new Commande($db); +$commandestatic=new CommandeFournisseur($db); if ($sortorder == "") $sortorder="DESC"; @@ -156,7 +156,7 @@ if ($resql) print ''; // Statut - print ''.$commandestatic->LibStatut($obj->fk_statut, '', 5).''; + print ''.$commandestatic->LibStatut($obj->fk_statut, 5).''; print "\n"; $i++;