diff --git a/htdocs/product/stock/entrepot.class.php b/htdocs/product/stock/entrepot.class.php index dc49c4a56bb..a7bbef82052 100644 --- a/htdocs/product/stock/entrepot.class.php +++ b/htdocs/product/stock/entrepot.class.php @@ -179,10 +179,10 @@ class Entrepot if ($this->pays_id) { $sqlp = "SELECT libelle from ".MAIN_DB_PREFIX."c_pays where rowid = ".$this->pays_id; - $resql=$this->$db->query($sqlp); + $resql=$this->db->query($sqlp); if ($resql) { - $objp = $this->$db->fetch_object($resql); + $objp = $this->db->fetch_object($resql); } else {