dépôts
/
lhc
/
web
/
www.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SPIP] ~v3.0.14 --> v3.0.15
[lhc/web/www.git]
/
www
/
ecrire
/
balise
/
formulaire_.php
diff --git
a/www/ecrire/balise/formulaire_.php
b/www/ecrire/balise/formulaire_.php
index
511978a
..
631b865
100644
(file)
--- 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);
}
) {
$texte = spip_htmlspecialchars($texte,ENT_QUOTES);
}
+ elseif(is_bool($texte))
+ $texte = ($texte?'1':'');
}
return $texte;
}
}
return $texte;
}