Bug génération des pages TinyMCE

This commit is contained in:
Fred Tempez 2024-04-17 16:27:22 +02:00
parent bca34949a9
commit d77afce37b
1 changed files with 1 additions and 1 deletions

View File

@ -878,7 +878,7 @@ class common
// Enregistrement : 3 tentatives
for ($i = 0; $i < 3; $i++) {
if ($this->secure_file_put_contents('core/vendor/tinymce/link_list.json',$parents) !== false) {
if (file_put_contents('core/vendor/tinymce/link_list.json', json_encode($parents, JSON_UNESCAPED_UNICODE), LOCK_EX) !== false) {
break;
}
// Pause de 10 millisecondes