From 8cacda1c1e2436a3b17b4af5083bd99ecf4dd97d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 27 Aug 2018 14:45:20 +0200 Subject: [PATCH] Fix error message --- htdocs/contrat/class/contrat.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/contrat/class/contrat.class.php b/htdocs/contrat/class/contrat.class.php index a867d8937c9..291569270b3 100644 --- a/htdocs/contrat/class/contrat.class.php +++ b/htdocs/contrat/class/contrat.class.php @@ -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;