diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php
index d355e3752d5..27cae44468a 100644
--- a/htdocs/commande/fiche.php
+++ b/htdocs/commande/fiche.php
@@ -548,11 +548,11 @@ else
print '
';
if ($_GET["action"] == "classer")
{
- $html->form_project($_SERVER["PHP_SELF"]."?id=$commande->id",$commande->fk_soc,$commande->projetid,"projetid");
+ $html->form_project($_SERVER["PHP_SELF"]."?id=$commande->id",$commande->soc_id,$commande->projet_id,"projetid");
}
else
{
- $html->form_project($_SERVER["PHP_SELF"]."?id=$commande->id",$commande->fk_soc,$commande->projetid,"none");
+ $html->form_project($_SERVER["PHP_SELF"]."?id=$commande->id",$commande->soc_id,$commande->projet_id,"none");
}
print " | ";
} else {
diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php
index 2b90b5c97a3..0f0ea55043e 100644
--- a/htdocs/html.form.class.php
+++ b/htdocs/html.form.class.php
@@ -950,7 +950,7 @@ class Form
print '';
print '';