浏览代码

make sure items is defaulted to a new list

Luke Pulverenti 11 年之前
父节点
当前提交
d2a0abb568
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      MediaBrowser.Controller/Channels/ChannelItemResult.cs

+ 5 - 0
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>();
+        }
     }
 }