Fix error message
This commit is contained in:
parent
a3b9d4f01b
commit
1a8afeff2a
@ -675,14 +675,14 @@ class Contrat extends CommonObject
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
dol_syslog(get_class($this)."::Fetch Erreur contrat non trouve");
|
dol_syslog(get_class($this)."::fetch Contract not found");
|
||||||
$this->error="Contract not found";
|
$this->error="Contract not found";
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
dol_syslog(get_class($this)."::Fetch Erreur lecture contrat");
|
dol_syslog(get_class($this)."::fetch Error searching contract");
|
||||||
$this->error=$this->db->error();
|
$this->error=$this->db->error();
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user