diff --git a/htdocs/fourn/commande/modules/modules_commandefournisseur.php b/htdocs/fourn/commande/modules/modules_commandefournisseur.php index 62a0fbbc799..7656c710100 100644 --- a/htdocs/fourn/commande/modules/modules_commandefournisseur.php +++ b/htdocs/fourn/commande/modules/modules_commandefournisseur.php @@ -185,7 +185,7 @@ function commande_supplier_delete_preview($db, $propalid) { global $langs,$conf; - $comfourn = new Commande($db,"",$propalid); + $comfourn = new CommandeFournisseur($db,"",$propalid); $comfourn->fetch($propalid); $client = new Societe($db); $client->fetch($comfourn->soc_id);