From 7057b3ba8210f7ba88af0730ea8d603983b42bdc Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Mon, 4 Oct 2021 11:38:09 +0300 Subject: [PATCH] config writer fix --- application/Espo/Core/Utils/Config/ConfigWriter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/Espo/Core/Utils/Config/ConfigWriter.php b/application/Espo/Core/Utils/Config/ConfigWriter.php index e9f3b8f71f..efdc6638e1 100644 --- a/application/Espo/Core/Utils/Config/ConfigWriter.php +++ b/application/Espo/Core/Utils/Config/ConfigWriter.php @@ -164,12 +164,12 @@ class ConfigWriter unset($data[$key]); } - $this->saveData($configPath, $data, 'microtime'); - if ($toSaveInternal) { $this->saveData($internalConfigPath, $dataInternal, 'microtimeInternal'); } + $this->saveData($configPath, $data, 'microtime'); + $this->changedData = []; $this->removeParamList = [];