X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;ds=sidebyside;f=www%2Fecrire%2Fbalise%2Fformulaire_.php;h=631b865674b14f238cf15e5f52d5ae181b829406;hb=1cd23582fed8f669ccf8246eb120237731da3db0;hp=511978a002030939f35e4145a11690ef27f43e39;hpb=3b34d0137e672387909494967123983d45db1ffd;p=lhc%2Fweb%2Fwww.git diff --git a/www/ecrire/balise/formulaire_.php b/www/ecrire/balise/formulaire_.php index 511978a0..631b8656 100644 --- a/www/ecrire/balise/formulaire_.php +++ b/www/ecrire/balise/formulaire_.php @@ -44,6 +44,8 @@ function protege_champ($texte){ ) { $texte = spip_htmlspecialchars($texte,ENT_QUOTES); } + elseif(is_bool($texte)) + $texte = ($texte?'1':''); } return $texte; }