|
|
|
@ -307,7 +307,7 @@ function saisies_picker_preselect_objet($valeur, $objet) {
|
|
|
|
|
**/ |
|
|
|
|
function saisies_utf8_restaurer_planes(?string $x): string { |
|
|
|
|
if (!$x) { |
|
|
|
|
return $x; |
|
|
|
|
return (string)$x; |
|
|
|
|
} |
|
|
|
|
preg_match_all('/&(amp;)?#(\d+);/U', $x, $matches, PREG_SET_ORDER); |
|
|
|
|
foreach ($matches as $m) { |
|
|
|
|