Ajout code de retour

This commit is contained in:
Rodolphe Quiedeville 2003-09-08 10:51:59 +00:00
parent 301808ff19
commit e929a2d9ae

View File

@ -133,13 +133,13 @@ class Product
$this->label_url = '<a href="'.DOL_URL_ROOT.'/product/fiche.php3?id='.$this->id.'">'.$this->label.'</a>'; $this->label_url = '<a href="'.DOL_URL_ROOT.'/product/fiche.php3?id='.$this->id.'">'.$this->label.'</a>';
$this->db->free(); $this->db->free();
return 1;
} }
else else
{ {
print $this->db->error(); print $this->db->error();
return -1;
} }
return $result;
} }
/* /*
* *