From 727a7383605cde7ca9912630d4a7b9b7e48f27f5 Mon Sep 17 00:00:00 2001
From: Regis Houssin <regis@dolibarr.fr>
Date: Sat, 27 May 2006 13:13:44 +0000
Subject: [PATCH] =?UTF-8?q?Fix:=20le=20projet=20n'=E9tait=20pas=20r=E9cup?=
 =?UTF-8?q?=E9r=E9=20=E0=20la=20cr=E9ation=20d'un=20commande?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 htdocs/commande/fiche.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php
index 1d120f016f0..344afc98156 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'];
-- 
GitLab