diff options
| author | crobibero <cody@robibe.ro> | 2020-11-16 20:29:46 -0700 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-11-16 20:29:46 -0700 |
| commit | 3cc0dd7e12380a7e4a0ef86591890ece8421b14c (patch) | |
| tree | 69b66e767026ef6abc15d757a57b1be4f0ccadcf /Emby.Server.Implementations/Channels/ChannelManager.cs | |
| parent | be0ddf02b3130ea5b6e4778201f784bcd031b72e (diff) | |
Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids usage.
Diffstat (limited to 'Emby.Server.Implementations/Channels/ChannelManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Channels/ChannelManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Channels/ChannelManager.cs b/Emby.Server.Implementations/Channels/ChannelManager.cs index 19045b72b..3d97a6ca8 100644 --- a/Emby.Server.Implementations/Channels/ChannelManager.cs +++ b/Emby.Server.Implementations/Channels/ChannelManager.cs @@ -634,7 +634,7 @@ namespace Emby.Server.Implementations.Channels { var channels = GetAllChannels().Where(i => i is ISupportsLatestMedia).ToArray(); - if (query.ChannelIds.Length > 0) + if (query.ChannelIds.Count > 0) { // Avoid implicitly captured closure var ids = query.ChannelIds; |
