This commit is contained in:
Rodolphe Quiedeville 2007-04-11 12:02:30 +00:00
parent e2b314384d
commit 315d6a1dec

View File

@ -195,7 +195,7 @@ class TelephonieContrat {
$sql .= " WHERE c.rowid = ".$id; $sql .= " WHERE c.rowid = ".$id;
$resql = $this->db->query($sql); $resql = $this->db->query($sql);
dolibarr_syslog($sql);
if ($resql) if ($resql)
{ {
if ($this->db->num_rows($resql)) if ($this->db->num_rows($resql))
@ -233,8 +233,7 @@ class TelephonieContrat {
$this->ref_url = '<a href="'.DOL_URL_ROOT.'/telephonie/contrat/fiche.php?id='.$this->id.'">'.$this->ref.'</a>'; $this->ref_url = '<a href="'.DOL_URL_ROOT.'/telephonie/contrat/fiche.php?id='.$this->id.'">'.$this->ref.'</a>';
$result = 0;
$result = 1;
} }
else else
{ {