Merge pull request #36627 from AlainCis/fix/36624-adding-line-to-intervention-impossible

FIX #36624 SQL syntax error when adding line to intervention
This commit is contained in:
Laurent Destailleur 2025-12-12 23:12:02 +01:00 committed by GitHub
commit 9a4029174d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 .= ')';