Skip to content

The Free Software Media System - Server Backend & API

make sure items is defaulted to a new list

Luke Pulverentid2a0abb568d7
diff --git a/MediaBrowser.Controller/Channels/ChannelItemResult.cs b/MediaBrowser.Controller/Channels/ChannelItemResult.cs
index 3ec5b7c24d..f888818118 100644
--- a/MediaBrowser.Controller/Channels/ChannelItemResult.cs
+++ b/MediaBrowser.Controller/Channels/ChannelItemResult.cs
@@ -7,5 +7,10 @@ namespace MediaBrowser.Controller.Channels
public List<ChannelItemInfo> Items { get; set; }
public int? TotalRecordCount { get; set; }
+
+ public ChannelItemResult()
+ {
+ Items = new List<ChannelItemInfo>();
+ }
}
}
\ No newline at end of file