diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php
index 1d120f016f05bd2035e7d0e1717dab88deefbf45..344afc9815681429a9586753e6ea7f5a2e522b1a 100644
--- a/htdocs/commande/fiche.php
+++ b/htdocs/commande/fiche.php
@@ -91,7 +91,7 @@ if ($_POST['action'] == 'add' && $user->rights->commande->creer)
 	$commande->date_commande        = $datecommande;
 	$commande->note                 = $_POST['note'];
 	$commande->source               = $_POST['source_id'];
-	$commande->projetid             = $_POST['projetid'];
+	$commande->projet_id            = $_POST['projetid'];
 	$commande->remise_absolue       = $_POST['remise_absolue'];
 	$commande->remise_percent       = $_POST['remise_percent'];
 	$commande->ref_client           = $_POST['ref_client'];