fix: le pays n'tait pas sauvegard, ni affich

This commit is contained in:
Regis Houssin 2006-02-27 19:43:48 +00:00
parent 4a073ae76b
commit 2cd93f3c62

View File

@ -179,7 +179,7 @@ class Entrepot
if ($this->pays_id)
{
$sql = "SELECT libelle from ".MAIN_DB_PREFIX."c_pays where rowid = ".$this->pays_id;
$resql=$db->query($sql);
$resql=$this->$db->query($sql);
if ($resql)
{
$obj = $db->fetch_object($resql);