diff --git a/gamuform_fonctions.php b/gamuform_fonctions.php index 6038375..686c18f 100644 --- a/gamuform_fonctions.php +++ b/gamuform_fonctions.php @@ -67,12 +67,6 @@ function gamufiltre($objet, $champ, $ligne, $integer = false) { return $valeur; } -function gamuTextebrut($v) { - if (is_integer($v)) { - return $v; - } - return trim(textebrut($v)); -} /** * recuperation du tableau des saisies d'un objet diff --git a/json_gamuform.json.html b/json_gamuform.json.html index 7221a86..3335bee 100644 --- a/json_gamuform.json.html +++ b/json_gamuform.json.html @@ -67,7 +67,7 @@ "id": #GET{ligne/id}, "edit": "", - [(#VALEUR|json_encode)] : [(#ENV{objet}|gamufiltre{#VALEUR,#GET{ligne},integer}|gamuTextebrut|json_encode)], + [(#VALEUR|json_encode)] : [(#ENV{objet}|gamufiltre{#VALEUR,#GET{ligne},integer}|json_encode{32})], "sup":"" }