From d77afce37b9d4d9cceaacf403f8cdf157a747ad7 Mon Sep 17 00:00:00 2001 From: F TEMPEZ Date: Wed, 17 Apr 2024 16:27:22 +0200 Subject: [PATCH] =?UTF-8?q?Bug=20g=C3=A9n=C3=A9ration=20des=20pages=20Tiny?= =?UTF-8?q?MCE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core.php b/core/core.php index 1905ee82..95a81e1c 100644 --- a/core/core.php +++ b/core/core.php @@ -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