Add last one

This commit is contained in:
Bond_009 2019-08-09 23:18:49 +02:00
parent 52c1b45feb
commit 9b2cf8501f
1 changed files with 3 additions and 1 deletions

View File

@ -228,7 +228,9 @@ namespace MediaBrowser.Api.UserLibrary
var collectionFolders = _libraryManager.GetCollectionFolders(item);
foreach (var collectionFolder in collectionFolders)
{
if (user.Policy.EnabledFolders.Contains(collectionFolder.Id.ToString("N"), StringComparer.OrdinalIgnoreCase))
if (user.Policy.EnabledFolders.Contains(
collectionFolder.Id.ToString("N", CultureInfo.InvariantCulture),
StringComparer.OrdinalIgnoreCase))
{
isInEnabledFolder = true;
}