aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Channels/Channel.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-05-18 21:21:26 +0200
committerGitHub <noreply@github.com>2021-05-18 21:21:26 +0200
commit8d2e5ef8c632a09109e946f87aa37fb34c0d6605 (patch)
tree9546fd5184f4c44354f4ba9f75d68fb0cc9157e4 /MediaBrowser.Controller/Channels/Channel.cs
parent19e9bef256129f10e701d98567826f46d30a12fb (diff)
parentb6dda30a33e7ea3465629e041be74b3e9022d810 (diff)
Merge pull request #6042 from crobibero/mbc-warn-2
Diffstat (limited to 'MediaBrowser.Controller/Channels/Channel.cs')
-rw-r--r--MediaBrowser.Controller/Channels/Channel.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Channels/Channel.cs b/MediaBrowser.Controller/Channels/Channel.cs
index 26c64e0da..26a936be0 100644
--- a/MediaBrowser.Controller/Channels/Channel.cs
+++ b/MediaBrowser.Controller/Channels/Channel.cs
@@ -84,7 +84,7 @@ namespace MediaBrowser.Controller.Channels
internal static bool IsChannelVisible(BaseItem channelItem, User user)
{
- var channel = ChannelManager.GetChannel(channelItem.ChannelId.ToString(""));
+ var channel = ChannelManager.GetChannel(channelItem.ChannelId.ToString(string.Empty));
return channel.IsVisible(user);
}