mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Saving settings failed if value was null.
This commit is contained in:
parent
0411b82e65
commit
1251e294cd
3 changed files with 18 additions and 3 deletions
|
@ -55,7 +55,7 @@ namespace NzbDrone.Core.Configuration
|
|||
{
|
||||
object currentValue;
|
||||
allWithDefaults.TryGetValue(configValue.Key, out currentValue);
|
||||
if (currentValue == null) continue;
|
||||
if (currentValue == null || configValue.Value == null) continue;
|
||||
|
||||
var equal = configValue.Value.ToString().Equals(currentValue.ToString());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue