From 37d1a7685e37e45734553a0eb4a4da793ca858cb Mon Sep 17 00:00:00 2001 From: Jonas L Date: Thu, 8 Feb 2024 19:48:49 +0100 Subject: [PATCH] fix(legacy): replay_gain_modifier should be a system preference (#2943) --- docs/releases/unreleased.md | 4 ++++ legacy/application/models/Preference.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/releases/unreleased.md b/docs/releases/unreleased.md index 18bad9f26..e7ea58d3d 100644 --- a/docs/releases/unreleased.md +++ b/docs/releases/unreleased.md @@ -26,6 +26,10 @@ Please follow this **before the upgrade procedure**. ## :arrow_up: Upgrading +### Replay gain modifier preference + +The `replay_gain_modifier` preference is now stored as system preference. Please check and save the replay gain modifier preference manually to make sure the preference is up to date and usable. + ## :warning: Known issues The following issues may need a workaround for the time being. Please search the [issues](https://github.com/libretime/libretime/issues) before reporting problems not listed below. diff --git a/legacy/application/models/Preference.php b/legacy/application/models/Preference.php index bc3cd3753..6f4f52e6b 100644 --- a/legacy/application/models/Preference.php +++ b/legacy/application/models/Preference.php @@ -1265,7 +1265,7 @@ class Application_Model_Preference public static function setReplayGainModifier($rg_modifier) { - self::setValue('replay_gain_modifier', $rg_modifier, true); + self::setValue('replay_gain_modifier', $rg_modifier, false); } public static function SetHistoryItemTemplate($value)