From b5c5b4e76548ec92366d892e4ae62684c2fa91a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Tue, 10 Dec 2019 18:55:22 +0100 Subject: [PATCH] Update contrat.class.php --- 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 e17bb9800da..cf4ca6d28b3 100644 --- a/htdocs/contrat/class/contrat.class.php +++ b/htdocs/contrat/class/contrat.class.php @@ -1298,7 +1298,7 @@ class Contrat extends CommonObject if (isset($this->ref_customer)) $this->ref_customer = trim($this->ref_customer); if (isset($this->ref_supplier)) $this->ref_supplier = trim($this->ref_supplier); if (isset($this->ref_ext)) $this->ref_ext = trim($this->ref_ext); - if (isset($this->entity)) $this->entity = (int) $this->entity); + if (isset($this->entity)) $this->entity = (int) $this->entity; if (isset($this->statut)) $this->statut = (int) $this->statut; if (isset($this->fk_soc)) $this->fk_soc = (int) $this->fk_soc; if (isset($this->fk_commercial_signature)) $this->fk_commercial_signature = trim($this->fk_commercial_signature);