소스 검색

fixed config save testing existence of empty path

Luke Pulverenti 12 년 전
부모
커밋
bae1a83f97
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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