diff options
Diffstat (limited to 'MediaBrowser.Server.Implementations/Dto')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Dto/DtoService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Dto/DtoService.cs b/MediaBrowser.Server.Implementations/Dto/DtoService.cs index a5f54b9380..740f5fbbcf 100644 --- a/MediaBrowser.Server.Implementations/Dto/DtoService.cs +++ b/MediaBrowser.Server.Implementations/Dto/DtoService.cs @@ -1074,7 +1074,7 @@ namespace MediaBrowser.Server.Implementations.Dto double totalPercentPlayed = 0; // Loop through each recursive child - foreach (var child in folder.GetRecursiveChildren(user, true).Where(i => !i.IsFolder).ToList()) + foreach (var child in folder.GetRecursiveChildren(user, i => !i.IsFolder)) { var userdata = _userDataRepository.GetUserData(user.Id, child.GetUserDataKey()); |
