diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-08-03 10:39:23 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-08-03 10:39:23 -0400 |
| commit | bae1a83f973dfc61e138aa757562f5f3a54adc9e (patch) | |
| tree | 4981e28deecbbb7f4207e83476b26913e601ac0c /MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs | |
| parent | c411fdc93a2811af4fba11319e6642211465f568 (diff) | |
fixed config save testing existence of empty path
Diffstat (limited to 'MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs b/MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs index 21a6f4869..96946bdab 100644 --- a/MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs +++ b/MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs @@ -86,7 +86,7 @@ namespace MediaBrowser.Server.Implementations.Configuration var newIbnPath = newConfig.ItemsByNamePath; - if (!string.IsNullOrEmpty(newIbnPath) + if (!string.IsNullOrWhiteSpace(newIbnPath) && !string.Equals(Configuration.ItemsByNamePath ?? string.Empty, newIbnPath)) { // Validate |
