Bladeren bron

fixed config save testing existence of empty path

Luke Pulverenti 12 jaren geleden
bovenliggende
commit
bae1a83f97
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs

+ 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