utilisation de mb_ucfirst pour ne pas exploser le json si un intitulé de champ commence par un caractèrte accentué

This commit is contained in:
cy_altern 2022-05-09 19:51:03 +02:00
parent b626a4cd59
commit 919bd4a323

View file

@ -12,7 +12,7 @@
"id": "id", "id": "id",
"edit": "", "edit": "",
<BOUCLE_header(DATA){source table,#GET{header}}> <BOUCLE_header(DATA){source table,#GET{header}}>
[(#CLE|json_encode)] : [(#VALEUR*|gamuform_lang|strtolower|ucfirst|json_encode)], [(#CLE|json_encode)] : [(#VALEUR*|gamuform_lang|mb_ucfirst|json_encode)],
</BOUCLE_header> </BOUCLE_header>
"sup": "" "sup": ""
}, },