diff --git a/application/core/Settings/SettingManager.php b/application/core/Settings/SettingManager.php index 834ec7df..0f0bc049 100644 --- a/application/core/Settings/SettingManager.php +++ b/application/core/Settings/SettingManager.php @@ -191,6 +191,7 @@ class SettingManager { @value ) ON DUPLICATE KEY UPDATE `type` = VALUES(`type`), + `value` = IF(`default` = VALUES(`default`), `value`, VALUES(`default`)), `default` = VALUES(`default`);"; $settingStatement = $mysqli->prepare($settingQuery); if ($mysqli->error) {