Browse Source

make sure items is defaulted to a new list

Luke Pulverenti 11 years ago
parent
commit
d2a0abb568
1 changed files with 5 additions and 0 deletions
  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>();
+        }
     }
 }