Fix error message
This commit is contained in:
parent
79aa0bbd1c
commit
8cacda1c1e
@ -1045,7 +1045,7 @@ class Contrat extends CommonObject
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$this->error="Failed to add contact";
|
$this->error="Failed to add contract";
|
||||||
dol_syslog(get_class($this)."::create - 20 - ".$this->error, LOG_ERR);
|
dol_syslog(get_class($this)."::create - 20 - ".$this->error, LOG_ERR);
|
||||||
$this->db->rollback();
|
$this->db->rollback();
|
||||||
return -2;
|
return -2;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user