From 988dbd25b3bf823514286c455fe1fb20abb051a2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 14 Jun 2021 14:24:18 +0200 Subject: [PATCH] Fix sql syntax error --- htdocs/holiday/class/holiday.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/holiday/class/holiday.class.php b/htdocs/holiday/class/holiday.class.php index f51e1ed85cf..76ea8555d85 100644 --- a/htdocs/holiday/class/holiday.class.php +++ b/htdocs/holiday/class/holiday.class.php @@ -275,7 +275,7 @@ class Holiday extends CommonObject $sql .= "entity"; $sql .= ") VALUES ("; $sql .= "'(PROV)',"; - $sql .= " ".((int) $this->fk_user)."',"; + $sql .= " ".((int) $this->fk_user).","; $sql .= " '".$this->db->idate($now)."',"; $sql .= " '".$this->db->escape($this->description)."',"; $sql .= " '".$this->db->idate($this->date_debut)."',";