Fix error message

This commit is contained in:
Laurent Destailleur 2018-08-27 14:45:20 +02:00
parent 79aa0bbd1c
commit 8cacda1c1e

View File

@ -1045,7 +1045,7 @@ class Contrat extends CommonObject
}
else
{
$this->error="Failed to add contact";
$this->error="Failed to add contract";
dol_syslog(get_class($this)."::create - 20 - ".$this->error, LOG_ERR);
$this->db->rollback();
return -2;