diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php
index a38c91250b2..bd6b818ea8f 100644
--- a/htdocs/commande/fiche.php
+++ b/htdocs/commande/fiche.php
@@ -715,11 +715,11 @@ else
print '
';
if ($_GET['action'] == 'editdelivery_adress')
{
- $html->form_adresse_livraison($_SERVER['PHP_SELF'].'?id='.$commande->id,$commande->adresse_livraison_id,'adresse_livraison_id');
+ $html->form_adresse_livraison($_SERVER['PHP_SELF'].'?id='.$commande->id,$commande->$soc_id,$commande->adresse_livraison_id,'adresse_livraison_id');
}
else
{
- $html->form_adresse_livraison($_SERVER['PHP_SELF'].'?id='.$commande->id,$commande->adresse_livraison_id,'none');
+ $html->form_adresse_livraison($_SERVER['PHP_SELF'].'?id='.$commande->id,$commande->$soc_id,$commande->adresse_livraison_id,'none');
}
print ' | ';