This commit is contained in:
Vincent de Grandpré 2026-03-11 19:02:49 -04:00 committed by Laurent Destailleur
parent 45d862c0e8
commit 5079e49023

View file

@ -5,6 +5,7 @@
* Copyright (C) 2015 Raphaël Doursenaud <rdoursenaud@gpcsolutions.fr>
* Copyright (C) 2024-2025 Frédéric France <frederic.france@free.fr>
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
* Copyright (C) 2026 Vincent de Grandpré <vincent@de-grandpre.quebec>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -148,7 +149,7 @@ class Cchargesociales
$sql .= 'active,';
$sql .= 'code,';
$sql .= 'fk_pays,';
$sql .= 'module';
$sql .= 'module,';
$sql .= 'accountancy_code';
$sql .= ') VALUES (';
$sql .= ' '.(!isset($this->libelle) ? 'NULL' : "'".$this->db->escape($this->libelle)."'").',';