diff --git a/htdocs/product/stock/entrepot.class.php b/htdocs/product/stock/entrepot.class.php index a4a3b2631d1..22dc04aa1de 100644 --- a/htdocs/product/stock/entrepot.class.php +++ b/htdocs/product/stock/entrepot.class.php @@ -131,7 +131,6 @@ class Entrepot $sql .= " SET label = '" . $this->libelle ."'"; $sql .= ",description = '" . $this->description ."'"; $sql .= ",statut = " . $this->statut ; - $sql .= ",description = '" . $this->description ."'"; $sql .= ",lieu = '" . $this->lieu ."'"; $sql .= ",address = '" . $this->address ."'"; $sql .= ",cp = '" . $this->cp ."'"; @@ -175,7 +174,7 @@ class Entrepot $this->address = $obj->address; $this->cp = $obj->cp; $this->ville = $obj->ville; - $this->pays_id = $obj->pays_id; + $this->pays_id = $obj->fk_pays; $this->db->free($result); return 1;