diff --git a/lib/Utils.php b/lib/Utils.php index 0df1fb7..f6bed5b 100644 --- a/lib/Utils.php +++ b/lib/Utils.php @@ -145,7 +145,7 @@ class Utils public static function getDonateurs($annee, $champsNom) { // concaténer les champs nom/prénoms pour la sélection - $nom = Utils::combinerChamps($champsNom) . ' as nom,'; + $nom = 'trim(' . Utils::combinerChamps($champsNom) . ') as nom,'; // et pour le tri $tri = Utils::combinerTri($champsNom); $sql =