From adc96532b7a5766d76c057b26edba9e646fa566d Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 27 Feb 2006 19:08:34 +0000 Subject: [PATCH] bugfix --- htdocs/product/stock/entrepot.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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;