From edc077c1a48724d55e9237c2a43fe79ebd6e6a04 Mon Sep 17 00:00:00 2001 From: "alain.cisirika" Date: Fri, 12 Dec 2025 15:15:56 +0200 Subject: [PATCH] FIX #36624 SQL syntax error when adding line to intervention --- htdocs/fichinter/class/fichinterligne.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fichinter/class/fichinterligne.class.php b/htdocs/fichinter/class/fichinterligne.class.php index b7df1696f61..a597aacf511 100644 --- a/htdocs/fichinter/class/fichinterligne.class.php +++ b/htdocs/fichinter/class/fichinterligne.class.php @@ -208,7 +208,7 @@ class FichinterLigne extends CommonObjectLine $sql .= " '".$this->db->idate($this->date)."',"; $sql .= " ".((int) $this->duration).","; $sql .= ' '.((int) $rangToUse).","; - $sql .= " ".((int) $this->product_type); + $sql .= " ".((int) $this->product_type).","; $sql .= " ".((int) $this->special_code); $sql .= ')';