Sfoglia il codice sorgente

make sure items is defaulted to a new list

Luke Pulverenti 11 anni fa
parent
commit
d2a0abb568
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  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>();
+        }
     }
 }