diff options
| author | Bond-009 <bond.009@outlook.com> | 2019-02-28 23:22:57 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2019-08-09 23:17:54 +0200 |
| commit | 6032f31aa660e3b0fe1936217109f9fb47853ba3 (patch) | |
| tree | 2c1858fa4465714094d86457ca093294c9f097d2 /MediaBrowser.Api/UserLibrary/ItemsService.cs | |
| parent | 779f0c637f4c280561029535a5b2160f34813b53 (diff) | |
Use CultureInvariant string conversion for Guids
Diffstat (limited to 'MediaBrowser.Api/UserLibrary/ItemsService.cs')
| -rw-r--r-- | MediaBrowser.Api/UserLibrary/ItemsService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/UserLibrary/ItemsService.cs b/MediaBrowser.Api/UserLibrary/ItemsService.cs index f842230ee..c605cd396 100644 --- a/MediaBrowser.Api/UserLibrary/ItemsService.cs +++ b/MediaBrowser.Api/UserLibrary/ItemsService.cs @@ -99,7 +99,7 @@ namespace MediaBrowser.Api.UserLibrary { ancestorIds = _libraryManager.GetUserRootFolder().GetChildren(user, true) .Where(i => i is Folder) - .Where(i => !excludeFolderIds.Contains(i.Id.ToString("N"))) + .Where(i => !excludeFolderIds.Contains(i.Id.ToString("N", CultureInfo.InvariantCulture))) .Select(i => i.Id) .ToArray(); } |
