Bläddra i källkod

fixed config save testing existence of empty path

Luke Pulverenti 12 år sedan
förälder
incheckning
bae1a83f97

+ 1 - 1
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