From c8ea16040e0ca30c95c992724d8414276f2674cf Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Mon, 20 Mar 2023 09:56:05 +0100 Subject: [PATCH] Bug double quotes --- core/class/jsondb/JsonDb.class.php | 4 +--- core/class/layout.class.php | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/core/class/jsondb/JsonDb.class.php b/core/class/jsondb/JsonDb.class.php index 7d5332a5..3566ca4d 100644 --- a/core/class/jsondb/JsonDb.class.php +++ b/core/class/jsondb/JsonDb.class.php @@ -142,7 +142,7 @@ class JsonDb extends \Prowebcraft\Dot */ public function save() { - $v = json_encode($this->data, JSON_UNESCAPED_UNICODE | LOCK_EX); + $v = json_encode($this->data, JSON_UNESCAPED_UNICODE); $l = strlen($v); $t = 0; while ($t < 5) { @@ -158,6 +158,4 @@ class JsonDb extends \Prowebcraft\Dot } } - - } \ No newline at end of file diff --git a/core/class/layout.class.php b/core/class/layout.class.php index 59596755..fb6ab358 100644 --- a/core/class/layout.class.php +++ b/core/class/layout.class.php @@ -1070,7 +1070,7 @@ class layout extends common if ($this->core->output['inlineStyle']) { foreach ($this->core->output['inlineStyle'] as $style) { if ($style) { - echo ''; + echo ''; } }