This commit is contained in:
Regis Houssin 2006-02-27 19:53:35 +00:00
parent 760db55d81
commit 82943c9b82

View File

@ -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
{