From bae1a83f973dfc61e138aa757562f5f3a54adc9e Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 3 Aug 2013 10:39:23 -0400 Subject: [PATCH] fixed config save testing existence of empty path --- .../Configuration/ServerConfigurationManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs b/MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs index 21a6f48699..96946bdab2 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