From 0de81239753b5b07e36358b4368ad50adcc6dc17 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 25 Apr 2013 09:56:18 -0400 Subject: [PATCH] fixes #194 - Crew before cast in dash --- MediaBrowser.Controller/Dto/DtoBuilder.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MediaBrowser.Controller/Dto/DtoBuilder.cs b/MediaBrowser.Controller/Dto/DtoBuilder.cs index ede1a1e84..a5b7b72ce 100644 --- a/MediaBrowser.Controller/Dto/DtoBuilder.cs +++ b/MediaBrowser.Controller/Dto/DtoBuilder.cs @@ -615,9 +615,9 @@ namespace MediaBrowser.Controller.Dto var dictionary = entities.ToDictionary(i => i.Name, StringComparer.OrdinalIgnoreCase); - for (var i = 0; i < item.People.Count; i++) + for (var i = 0; i < people.Count; i++) { - var person = item.People[i]; + var person = people[i]; var baseItemPerson = new BaseItemPerson {