diff --git a/htdocs/comm/adresse_livraison.class.php b/htdocs/comm/adresse_livraison.class.php index 054b211ea3e..991c598cb83 100644 --- a/htdocs/comm/adresse_livraison.class.php +++ b/htdocs/comm/adresse_livraison.class.php @@ -256,6 +256,19 @@ class Livraison $this->nom_societe = $obj->nom; $this->socid = $obj->idp; $this->id = $obj->idp; + + if ($this->client == 1) + { + $this->nom_url = ''.$obj->nom.''; + } + elseif($this->client == 2) + { + $this->nom_url = ''.$obj->nom.''; + } + else + { + $this->nom_url = ''.$obj->nom.''; + } } $this->lignes = array();